mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +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
|
||||
this.container.innerHtml = "";
|
||||
// this.container.removeChild(this.element);
|
||||
//this.container.innerHtml = ""; // not safe
|
||||
this.container.removeChild(this.element);
|
||||
};
|
||||
|
||||
//-- STYLES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue