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:
authoramazingrise <8315221+AmazingRise@users.noreply.github.com>2021-05-14 11:25:52 +0300
committeramazingrise <8315221+AmazingRise@users.noreply.github.com>2021-05-14 11:25:52 +0300
commit755df67fc2aae5d27691cce9b572d704afa8b3a3 (patch)
treee2808ac064e474e163ff650fedda079091a60a6d /static
parentcc8287964b4d52b203f56efc87181dbbab42979e (diff)
Auto collapse disabled by default.
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