From 9d132623b6fc90021c16c494dfbede6b1cde21e8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 31 Jan 2018 23:04:56 +0300 Subject: next page on space --- js/read.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/read.js') diff --git a/js/read.js b/js/read.js index 8455a2c..e096379 100644 --- a/js/read.js +++ b/js/read.js @@ -47,8 +47,8 @@ function hotkey_handler(e) { if ($(".modal").is(":visible")) return; - // right - if (e.which == 39) { + // right or space + if (e.which == 39 || e.which == 32) { e.preventDefault(); next_page(); } -- cgit v1.2.3