1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

Better loaderror handling

This commit is contained in:
Fred Chasen 2017-11-03 13:41:39 -07:00
parent 7c6fbfe978
commit b1093fa841
4 changed files with 38 additions and 17 deletions

View file

@ -271,6 +271,8 @@ class Rendition {
this.emit("displayed", section);
this.reportLocation();
}, (err) => {
this.emit("displayerror", err);
});
return displayed;