Browse Source

Merge pull request #1485 from MasterEnoc/qm-event

Do not show shortcut help when typing '?' in the search box
Simon Legner 4 years ago
parent
commit
4c6c270065
1 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/javascripts/app/shortcuts.coffee

+ 1 - 1
assets/javascripts/app/shortcuts.coffee

@@ -37,7 +37,7 @@ class app.Shortcuts
     return
 
   onKeypress: (event) =>
-    return if @buggyEvent(event)
+    return if @buggyEvent(event) or (event.charCode == 63 and document.activeElement.tagName == 'INPUT')
     unless event.ctrlKey or event.metaKey
       result = @handleKeypressEvent event
       event.preventDefault() if result is false