Fix ReferenceError of scollToTop and scollToBottom in index.js

This commit is contained in:
Wu Cheng-Han 2016-10-22 15:42:56 +08:00
parent 1b36cefd4b
commit d4bb87b8ec
1 changed files with 3 additions and 0 deletions

View File

@ -1915,6 +1915,9 @@ function scrollToBottom() {
}
}
window.scrollToTop = scrollToTop;
window.scrollToBottom = scrollToBottom;
var enoughForAffixToc = true;
//scrollspy