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:
parent
5c7f21d648
commit
057ed100f8
1 changed files with 5 additions and 0 deletions
|
@ -816,6 +816,11 @@ class IframeView {
|
|||
this.stopExpanding = true;
|
||||
this.element.removeChild(this.iframe);
|
||||
|
||||
if (this.pane) {
|
||||
this.pane.element.remove();
|
||||
this.pane = undefined;
|
||||
}
|
||||
|
||||
this.iframe = undefined;
|
||||
this.contents = undefined;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue