diff options
author | Andrew Dolgov <[email protected]> | 2017-05-24 12:38:11 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-05-24 12:38:11 +0300 |
commit | 5daa0dba4b1d8c5b40323cdea982f84195242783 (patch) | |
tree | 41eb3d53d1970d1a46e942b382703772e67e3303 | |
parent | 3e3e4516d8888aea3ba315241272ec9bb216bae4 (diff) |
store lastread on mouse scroll
-rw-r--r-- | read.html | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -502,9 +502,9 @@ $("#reader iframe")[0].contentWindow.onwheel = function(event) { if (event.deltaY > 0) { - book.nextPage(); + next_page(); } else if (event.deltaY < 0) { - book.prevPage(); + prev_page(); } }; |