diff --git a/comic_reader.js b/comic_reader.js index 4ed0b74..a4427c6 100644 --- a/comic_reader.js +++ b/comic_reader.js @@ -281,14 +281,14 @@ function moveReader(to_next, move_page) { // CALLBACKS // ============= -function handleKeyPress(key, has_ctrl){ +function handleKeyPress(key, has_shift){ if (key == MOVE_NEXT) { - moveReader(true, has_ctrl) + moveReader(true, has_shift) } else if (key == MOVE_BACK) { - moveReader(false, has_ctrl) + moveReader(false, has_shift) } else if (key.toUpperCase() == TOGGLE_FULLSCREEN){ @@ -335,7 +335,7 @@ addEventListener("resize", (event) => { }); addEventListener("keydown", (event) => { - handleKeyPress(event.key, event.ctrlKey) + handleKeyPress(event.key, event.shiftKey) }); addEventListener("wheel", (event) => { diff --git a/comic_reader_test_high_res.html b/comic_reader_test_high_res.html index 435e548..0e98627 100644 --- a/comic_reader_test_high_res.html +++ b/comic_reader_test_high_res.html @@ -44,7 +44,7 @@