1
0
Fork 0
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:
Fred Chasen 2018-11-03 14:34:20 -07:00
parent 3bf150163c
commit 10b451dc1c
9 changed files with 362 additions and 160 deletions

View file

@ -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);
}