History

Do not show shortcut help when typing '?' in the search box

Enoc committed 5 years ago

Commit 4d885ef1 parent 38e07241 file · +1 −1Browse files

Unified · Split

assets/javascripts/app/shortcuts.coffee+1−1
@@ -37,7 +37,7 @@ class app.Shortcuts · 36 unmodified lines
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