From 95a802cdf0cd25e21e73786862335f9ad30c123c Mon Sep 17 00:00:00 2001 From: Danila Gorelko Date: Wed, 7 Sep 2022 00:08:58 +0000 Subject: [PATCH] fix list of shortcuts --- static/shortcuts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/shortcuts.js b/static/shortcuts.js index 031ec90..2d05d67 100644 --- a/static/shortcuts.js +++ b/static/shortcuts.js @@ -285,8 +285,8 @@ rrh.shortcuts.addGroup(new ShortcutGroup('Common', null, [ if (document.body.dataset.rrhAddr.startsWith('/hypha')) { rrh.shortcuts.addGroup(new ShortcutGroup('Hypha', null, [ new Shortcut('', $$('article .wikilink'), 'First 9 hypha′s links'), - new Shortcut(['p', 'Alt+ArrowLeft', 'Ctrl+Alt+ArrowLeft'], $('.prevnext__prev'), 'Next hypha'), - new Shortcut(['n', 'Alt+ArrowRight', 'Ctrl+Alt+ArrowRight'], $('.prevnext__next'), 'Previous hypha'), + new Shortcut(['p', 'Alt+ArrowLeft', 'Ctrl+Alt+ArrowLeft'], $('.prevnext__prev'), 'Previous hypha'), + new Shortcut(['n', 'Alt+ArrowRight', 'Ctrl+Alt+ArrowRight'], $('.prevnext__next'), 'Next hypha'), new Shortcut(['s', 'Alt+ArrowUp', 'Ctrl+Alt+ArrowUp'], $$('.navi-title a').slice(1, -1).slice(-1)[0], 'Parent hypha'), new Shortcut(['c', 'Alt+ArrowDown', 'Ctrl+Alt+ArrowDown'], $('.subhyphae__link'), 'First child hypha'), new Shortcut(['e', isMac ? 'Meta+Enter' : 'Ctrl+Enter'], $('.btn__link_navititle[href^="/edit/"]'), 'Edit this hypha'),