1
0
Fork 0
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:
Fred Chasen 2018-05-04 17:09:01 -07:00
parent c24258e875
commit 52b6c1a281
2 changed files with 2694 additions and 2692 deletions

5382
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -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";
}