1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-02 14:49:16 +02:00

remove pane to force redraw on render

This commit is contained in:
Scott Batson 2021-03-18 15:15:55 -04:00
parent 5c7f21d648
commit 057ed100f8

View file

@ -816,6 +816,11 @@ class IframeView {
this.stopExpanding = true; this.stopExpanding = true;
this.element.removeChild(this.iframe); this.element.removeChild(this.iframe);
if (this.pane) {
this.pane.element.remove();
this.pane = undefined;
}
this.iframe = undefined; this.iframe = undefined;
this.contents = undefined; this.contents = undefined;