« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/js')
-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();
     }