Unified · Split
| @@ -41,7 +41,8 @@ class app.views.Search extends app.View · 40 unmodified lines | |||
| 41 | return | 41 | return |
| 42 | 42 | ||
| 43 | autoFocus: => | 43 | autoFocus: => |
| 44 | @focus() unless $.isTouchScreen() | 44 | unless $.isTouchScreen() |
| 45 | @input.focus() unless document.activeElement is @input | ||
| 45 | return | 46 | return |
| 46 | 47 | ||
| 47 | reset: -> | 48 | reset: -> |