mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Fix inconsistent return value.
This commit is contained in:
parent
b809fe9498
commit
cdba0ecb9e
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ EPUBJS.Render.Iframe.prototype.load = function(contents, url){
|
|||
|
||||
if(!this.document) {
|
||||
deferred.reject(new Error("No Document Available"));
|
||||
return deferred;
|
||||
return deferred.promise;
|
||||
}
|
||||
|
||||
this.document.open();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue