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