mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Merge pull request #564 from gimox/master
#554 fix - remove iframe not work correctly
This commit is contained in:
commit
603cf423cc
1 changed files with 2 additions and 2 deletions
|
@ -402,8 +402,8 @@ EPUBJS.Renderer.prototype.remove = function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// clean container content
|
// clean container content
|
||||||
this.container.innerHtml = "";
|
//this.container.innerHtml = ""; // not safe
|
||||||
// this.container.removeChild(this.element);
|
this.container.removeChild(this.element);
|
||||||
};
|
};
|
||||||
|
|
||||||
//-- STYLES
|
//-- STYLES
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue