Fix autofocus behavior

pull/447/merge
Thibaut Courouble 9 years ago
parent 71491c53c4
commit 6f16945418

@ -41,7 +41,8 @@ class app.views.Search extends app.View
return
autoFocus: =>
@focus() unless $.isTouchScreen()
unless $.isTouchScreen()
@input.focus() unless document.activeElement is @input
return
reset: ->

Loading…
Cancel
Save