diff --git a/public/js/index.js b/public/js/index.js index 4be11e866..1ba10e14f 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1915,6 +1915,9 @@ function scrollToBottom() { } } +window.scrollToTop = scrollToTop; +window.scrollToBottom = scrollToBottom; + var enoughForAffixToc = true; //scrollspy