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:
parent
7c6fbfe978
commit
b1093fa841
4 changed files with 38 additions and 17 deletions
|
@ -271,6 +271,8 @@ class Rendition {
|
|||
|
||||
this.emit("displayed", section);
|
||||
this.reportLocation();
|
||||
}, (err) => {
|
||||
this.emit("displayerror", err);
|
||||
});
|
||||
|
||||
return displayed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue