Fix expanding first truncated sidebar item

This commit is contained in:
Thibaut 2013-11-20 22:04:41 +01:00
parent b03112c646
commit d6b4baee31

View file

@ -40,7 +40,7 @@ class app.views.SidebarHover extends app.View
position: =>
if @cursor
top = $.rect(@cursor).top
if top > @offsetTop
if top >= @offsetTop
@clone.style.top = top + 'px'
else
@hide()