summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/read.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/read.js b/js/read.js
index 9ca4515..e028229 100644
--- a/js/read.js
+++ b/js/read.js
@@ -19,11 +19,13 @@ function hotkey_handler(e) {
// right
if (e.which == 39) {
+ e.preventDefault();
next_page();
}
// left
if (e.which == 37) {
+ e.preventDefault();;
prev_page();
}