diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-03-31 18:47:51 -0300 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-03-31 18:47:51 -0300 |
| commit | de1563b9a06991450d88fd697ee03c947606a075 (patch) | |
| tree | 6c08af020c3bea23cd16678a255ff29f7dbdfe37 /src/static/js/client | |
| parent | 358d180eb018e0ca667d763d25ac8b4dd4244081 (diff) | |
inconsequential eslint fixes
Diffstat (limited to 'src/static/js/client')
| -rw-r--r-- | src/static/js/client/sidebar-search.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/static/js/client/sidebar-search.js b/src/static/js/client/sidebar-search.js index 7b01cb00..386bf477 100644 --- a/src/static/js/client/sidebar-search.js +++ b/src/static/js/client/sidebar-search.js @@ -615,7 +615,7 @@ export function addPageListeners() { return; } - if (event.shiftKey && event.code === 'Slash') { + if (domEvent.shiftKey && domEvent.code === 'Slash') { domEvent.preventDefault(); info.searchLabel.click(); } @@ -785,7 +785,7 @@ function recordActiveQueryContext() { } function clearSidebarSearch() { - const {session, state} = info; + const {state} = info; if (state.stoppedTypingTimeout) { clearTimeout(state.stoppedTypingTimeout); |