diff options
Diffstat (limited to 'src/static')
-rw-r--r-- | src/static/js/client/scripted-link.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/static/js/client/scripted-link.js b/src/static/js/client/scripted-link.js index ca1c2548..8b8d8a13 100644 --- a/src/static/js/client/scripted-link.js +++ b/src/static/js/client/scripted-link.js @@ -208,6 +208,11 @@ function mutateNavigationLinkContent() { function addNavigationKeyPressListeners() { document.addEventListener('keypress', (event) => { + const {tagName} = document.activeElement ?? {}; + if (tagName === 'INPUT' || tagName === 'TEXTAREA') { + return; + } + if (event.shiftKey) { if (event.charCode === 'N'.charCodeAt(0)) { info.nextNavLink?.click(); |