Add name link

This commit is contained in:
qingwei.li 2017-01-12 20:16:18 +08:00
commit 4a7df99224
3 changed files with 4 additions and 3 deletions

View file

@ -48,7 +48,7 @@ export function scrollActiveSidebar () {
li.classList.add('active')
active = li
!hoveredOverSidebar && !sticky.noSticky && active.scrollIntoView()
!hoveredOverSidebar && !sticky.noSticky && active.scrollIntoView(false)
}
window.removeEventListener('scroll', highlight)