1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00

#554 fix - remove iframe not work correctly

remove iframe not work correctly
This commit is contained in:
Giorgio Modoni 2017-02-25 09:50:46 +01:00 committed by GitHub
parent 41174b4645
commit 91de06249b

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