« get me outta code hell

client: sidebar-search: don't capture shift+cmd+/ - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/js/client
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-04-27 11:47:34 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-04-27 11:47:34 -0300
commit2d492595fa5b30e94153ce186652c15c9f641a2c (patch)
tree94e2957282ca5386ab28e8eb09d6b0b509c37fb8 /src/static/js/client
parenta33b0786eab80c7d2871167b258166366fe47239 (diff)
client: sidebar-search: don't capture shift+cmd+/
Diffstat (limited to 'src/static/js/client')
-rw-r--r--src/static/js/client/sidebar-search.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/static/js/client/sidebar-search.js b/src/static/js/client/sidebar-search.js
index 386bf477..7d39f06e 100644
--- a/src/static/js/client/sidebar-search.js
+++ b/src/static/js/client/sidebar-search.js
@@ -616,6 +616,10 @@ export function addPageListeners() {
     }
 
     if (domEvent.shiftKey && domEvent.code === 'Slash') {
+      if (domEvent.ctrlKey || domEvent.metaKey) {
+        return;
+      }
+
       domEvent.preventDefault();
       info.searchLabel.click();
     }