Merge branch 'fix-docs-scroll' of https://github.com/page-down/kitty

This commit is contained in:
Kovid Goyal 2021-12-09 12:14:06 +05:30
commit 5899e06b6b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -22,7 +22,7 @@ function scroll_sidebar_node_into_view(a) {
a = a.offsetParent;
if (!a || a == ss) break;
}
ss.scrollTop = pos;
ss.scrollTo({top: pos, behavior: 'instant'});
}
function mark_current_link(sidebar_tree, a, onload) {