Skip to content

Commit

Permalink
#554 fix - remove iframe not work correctly
Browse files Browse the repository at this point in the history
remove iframe not work correctly
  • Loading branch information
gimox authored Feb 25, 2017
1 parent 41174b4 commit 91de062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 91de062

Please sign in to comment.