Skip to content

Commit 4c6c270

Browse files
authored
Merge pull request #1485 from MasterEnoc/qm-event
Do not show shortcut help when typing '?' in the search box
2 parents 0f386fb + 4d885ef commit 4c6c270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/javascripts/app/shortcuts.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class app.Shortcuts
3737
return
3838

3939
onKeypress: (event) =>
40-
return if @buggyEvent(event)
40+
return if @buggyEvent(event) or (event.charCode == 63 and document.activeElement.tagName == 'INPUT')
4141
unless event.ctrlKey or event.metaKey
4242
result = @handleKeypressEvent event
4343
event.preventDefault() if result is false

0 commit comments

Comments
 (0)