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:
parent
6b01c94d0c
commit
00fd8c6b3b
8 changed files with 170 additions and 40 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue