mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-03 05:43:30 +03:00
better cleanup for html drawer in destroy
This commit is contained in:
parent
8967e2bb03
commit
6e4914ada3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue