diff options
author | Wu Cheng-Han | 2016-10-22 15:42:56 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-10-22 15:42:56 +0800 |
commit | d4bb87b8ec9ce053ca8e28cc31905c0656d9a46a (patch) | |
tree | 244710ba80e13dc31e8be86aa49bb4def9844f08 | |
parent | 1b36cefd4b7893be14b83a0256ce86ccf2171706 (diff) |
Fix ReferenceError of scollToTop and scollToBottom in index.js
Diffstat (limited to '')
-rw-r--r-- | public/js/index.js | 3 |
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 |