Explorar el Código

Don't expand truncated sidebar items on mobile

Thibaut hace 11 años
padre
commit
2de5d012c3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      assets/javascripts/views/sidebar/sidebar.coffee

+ 1 - 1
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