mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Fixed reference to renderer when destroying the book (should be "renderer", not "render").
This commit is contained in:
parent
e0f7315c57
commit
58e60a7d38
1 changed files with 1 additions and 1 deletions
|
@ -1171,7 +1171,7 @@ EPUBJS.Book.prototype.destroy = function() {
|
|||
|
||||
this.unload();
|
||||
|
||||
if(this.render) this.render.remove();
|
||||
if(this.renderer) this.renderer.remove();
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue