Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/js/toc-collapse.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/static/js/toc-collapse.js b/static/js/toc-collapse.js
index 427b2e5..e215a97 100644
--- a/static/js/toc-collapse.js
+++ b/static/js/toc-collapse.js
@@ -51,11 +51,6 @@ var collapseOthers = function (currentIndex) {
$(this).collapse("hide");
});
}
-$().ready(function () {
- spy();
- $(window).bind('scroll', debounce(spy, 250, { 'maxWait': 1000 }));
-});
-
//From https://github.com/lodash/lodash/blob/master/debounce.js
// and https://github.com/lodash/lodash/blob/master/isObject.js