1
0
Fork 0
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:
Fred Chasen 2017-03-01 16:09:19 -05:00 committed by GitHub
commit 603cf423cc

View file

@ -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