From 2de5d012c3e8a0ea2d72418b219fc0c2ad45a7d6 Mon Sep 17 00:00:00 2001 From: Thibaut Date: Sun, 7 Sep 2014 09:42:13 -0400 Subject: [PATCH] Don't expand truncated sidebar items on mobile --- assets/javascripts/views/sidebar/sidebar.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/views/sidebar/sidebar.coffee b/assets/javascripts/views/sidebar/sidebar.coffee index 7da53b47..14ab6522 100644 --- a/assets/javascripts/views/sidebar/sidebar.coffee +++ b/assets/javascripts/views/sidebar/sidebar.coffee @@ -10,7 +10,7 @@ class app.views.Sidebar extends app.View escape: 'onEscape' init: -> - @addSubview @hover = new app.views.SidebarHover @el unless $.isTouchScreen() + @addSubview @hover = new app.views.SidebarHover @el unless app.isMobile() or $.isTouchScreen() @addSubview @search = new app.views.Search @search