From b2dc44a9192c34613a1e7f1d10c4a03c547d8310 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Tue, 24 Nov 2020 05:09:06 +0000 Subject: [PATCH] Reverse J and K for page navigation --- public/js/reader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/reader.js b/public/js/reader.js index 15aeff5..6d44a06 100644 --- a/public/js/reader.js +++ b/public/js/reader.js @@ -303,8 +303,8 @@ const keyHandler = (event) => { const mode = getProp('mode'); if (mode === 'continuous') return; - if (event.key === 'ArrowLeft' || event.key === 'j') + if (event.key === 'ArrowLeft' || event.key === 'k') flipPage(false); - if (event.key === 'ArrowRight' || event.key === 'k') + if (event.key === 'ArrowRight' || event.key === 'j') flipPage(true); };