Fixes #112
Unified · Split
| @@ -17,7 +17,7 @@ class app.views.DocList extends app.View · 16 unmodified lines | ||
| 17 | 17 | @lists = {} |
| 18 | 18 | |
| 19 | 19 | @addSubview @listSelect = new app.views.ListSelect @el |
| 20 | − @addSubview @listFocus = new app.views.ListFocus @el unless $.isTouchScreen() | |
| 20 | + @addSubview @listFocus = new app.views.ListFocus @el unless app.isMobile() | |
| 21 | 21 | @addSubview @listFold = new app.views.ListFold @el |
| 22 | 22 | |
| 23 | 23 | app.on 'ready', @render |
| @@ -13,7 +13,7 @@ class app.views.Results extends app.View · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | init: -> |
| 15 | 15 | @addSubview @listSelect = new app.views.ListSelect @el |
| 16 | − @addSubview @listFocus = new app.views.ListFocus @el unless $.isTouchScreen() | |
| 16 | + @addSubview @listFocus = new app.views.ListFocus @el unless app.isMobile() | |
| 17 | 17 | |
| 18 | 18 | @search |
| 19 | 19 | .on 'results', @onResults |