diff options
author | Andrew Dolgov <[email protected]> | 2018-07-02 14:11:52 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-07-02 14:11:52 +0300 |
commit | 0ce9f005423032539af41b280c3422507408edfd (patch) | |
tree | 492c0f11f195b1546c3b1083965d60137e05b087 /read.html | |
parent | 7b462f0b3ce566ac7edba96507ca951371705776 (diff) |
use jquery wheel event handler
Diffstat (limited to 'read.html')
-rw-r--r-- | read.html | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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" ]; |