summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/js/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 4be11e86..1ba10e14 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