We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c63be68 commit d9a12a5Copy full SHA for d9a12a5
1 file changed
assets/javascripts/views/search/search_scope.coffee
@@ -88,13 +88,12 @@ class app.views.SearchScope extends app.View
88
return
89
90
onKeydown: (event) =>
91
- return if event.ctrlKey or event.metaKey or event.altKey or event.shiftKey
92
-
93
if event.which is 8 # backspace
94
if @doc and not @input.value
95
$.stopEvent(event)
96
@reset()
97
else if not @doc and @input.value
+ return if event.ctrlKey or event.metaKey or event.altKey or event.shiftKey
98
if event.which is 9 or # tab
99
event.which is 32 and (app.isMobile() or $.isTouchScreen()) # space
100
@search @input.value[0...@input.selectionStart]
0 commit comments