Reverse J and K for page navigation

This commit is contained in:
Alex Ling 2020-11-24 05:09:06 +00:00
parent c8db397a3b
commit b2dc44a919
1 changed files with 2 additions and 2 deletions

View File

@ -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);
};