History

Fix expanding first truncated sidebar item

Thibaut committed 12 years ago

Commit d6b4bae1 parent b03112c1 file · +1 −1Browse files

Unified · Split

assets/javascripts/views/sidebar/sidebar_hover.coffee+1−1
@@ -40,7 +40,7 @@ class app.views.SidebarHover extends app.View · 39 unmodified lines
4040 position: =>
4141 if @cursor
4242 top = $.rect(@cursor).top
43− if top > @offsetTop
43+ if top >= @offsetTop
4444 @clone.style.top = top + 'px'
4545 else
4646 @hide()