mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
fix(iframe-view): can't turn pages after changing window size
This commit is contained in:
parent
f09089cf77
commit
0caaf5f3da
2 changed files with 23 additions and 6 deletions
|
@ -77,9 +77,8 @@ class Views {
|
|||
}
|
||||
|
||||
destroy(view) {
|
||||
if(view.displayed){
|
||||
view.destroy();
|
||||
}
|
||||
// Just destroy it.
|
||||
view.destroy();
|
||||
|
||||
if(this.container){
|
||||
this.container.removeChild(view.element);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue