mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Added Snap helper
This commit is contained in:
parent
3bf150163c
commit
10b451dc1c
9 changed files with 362 additions and 160 deletions
|
@ -814,7 +814,7 @@ class Contents {
|
|||
}
|
||||
|
||||
DOM_EVENTS.forEach(function(eventName){
|
||||
this.document.addEventListener(eventName, this.triggerEvent.bind(this), false);
|
||||
this.document.addEventListener(eventName, this.triggerEvent.bind(this), { passive: true });
|
||||
}, this);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue