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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t