Docs: fix conflicts caused by smooth scrolling in Chrome
This commit is contained in:
parent
3d59e4eac1
commit
a4a9290577
1 changed files with 1 additions and 1 deletions
2
docs/_static/custom.js
vendored
2
docs/_static/custom.js
vendored
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue