summaryrefslogtreecommitdiff
path: root/read.html
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-07-02 14:11:52 +0300
committerAndrew Dolgov <[email protected]>2018-07-02 14:11:52 +0300
commit0ce9f005423032539af41b280c3422507408edfd (patch)
tree492c0f11f195b1546c3b1083965d60137e05b087 /read.html
parent7b462f0b3ce566ac7edba96507ca951371705776 (diff)
use jquery wheel event handler
Diffstat (limited to 'read.html')
-rw-r--r--read.html8
1 files changed, 0 insertions, 8 deletions
diff --git a/read.html b/read.html
index 3bfa448..3a67b19 100644
--- a/read.html
+++ b/read.html
@@ -431,14 +431,6 @@
rendition.hooks.content.register(function(contents) {
- $("#reader iframe")[0].contentWindow.onwheel = function(event) {
- if (event.deltaY > 0) {
- next_page();
- } else if (event.deltaY < 0) {
- prev_page();
- }
- };
-
var base_url = window.location.href.match(/^.*\//)[0];
var res_names = [ "lib/bootstrap/v3/js/jquery.js", "lib/jquery.mobile.custom.js",
"js/reader.js", "js/dict.js" ];