mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Fix expanding first truncated sidebar item
This commit is contained in:
parent
b03112c646
commit
d6b4baee31
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue