mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Remove contents on iframe view destroy
This commit is contained in:
parent
c24258e875
commit
52b6c1a281
2 changed files with 2694 additions and 2692 deletions
5382
package-lock.json
generated
5382
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -750,13 +750,15 @@ class IframeView {
|
|||
this.stopExpanding = true;
|
||||
this.element.removeChild(this.iframe);
|
||||
|
||||
this.iframe = null;
|
||||
this.iframe = undefined;
|
||||
this.contents = undefined;
|
||||
|
||||
this._textWidth = null;
|
||||
this._textHeight = null;
|
||||
this._width = null;
|
||||
this._height = null;
|
||||
}
|
||||
|
||||
// this.element.style.height = "0px";
|
||||
// this.element.style.width = "0px";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue