Skip to content

Commit

Permalink
Merge pull request #564 from gimox/master
Browse files Browse the repository at this point in the history
#554 fix - remove iframe not work correctly
  • Loading branch information
fchasen authored Mar 1, 2017
2 parents 41174b4 + 91de062 commit 603cf42
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 603cf42

Please sign in to comment.