1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-04 15:09:16 +02:00

fixes scrolled location reporting

This commit is contained in:
Fred Chasen 2017-03-30 19:36:33 -04:00
parent 6b01c94d0c
commit 00fd8c6b3b
8 changed files with 170 additions and 40 deletions

View file

@ -176,7 +176,7 @@ class Rendition {
this.manager.on("resized", this.onResized.bind(this));
// Listen for scroll changes
this.manager.on("scroll", this.reportLocation.bind(this));
this.manager.on("scrolled", this.reportLocation.bind(this));
// Trigger that rendering has started
this.emit("started");