mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +03:00
better cleanup for html drawer in destroy
This commit is contained in:
parent
8967e2bb03
commit
6e4914ada3
@ -126,7 +126,7 @@ class HTMLDrawer extends OpenSeadragon.DrawerBase{
|
|||||||
* Destroy the drawer (unload current loaded tiles)
|
* Destroy the drawer (unload current loaded tiles)
|
||||||
*/
|
*/
|
||||||
destroy() {
|
destroy() {
|
||||||
this.canvas.innerHTML = "";
|
this.container.removeChild(this.canvas);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user