History

Don't expand truncated sidebar items on mobile

Thibaut committed 12 years ago

Commit 2de5d011 parent b381e531 file · +1 −1Browse files

Showing the changes to assets/javascripts (1 of 1 file). Show all

Unified · Split

assets/javascripts/views/sidebar/sidebar.coffee+1−1
@@ -10,7 +10,7 @@ class app.views.Sidebar extends app.View · 9 unmodified lines
1010 escape: 'onEscape'
1111
1212 init: ->
13− @addSubview @hover = new app.views.SidebarHover @el unless $.isTouchScreen()
13+ @addSubview @hover = new app.views.SidebarHover @el unless app.isMobile() or $.isTouchScreen()
1414 @addSubview @search = new app.views.Search
1515
1616 @search