1
0
Fork 0
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:
Jackson Ray Hamilton 2016-01-04 16:10:11 -08:00
parent b809fe9498
commit cdba0ecb9e

View file

@ -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();