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
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/toc-collapse.js')
-rw-r--r--static/js/toc-collapse.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/static/js/toc-collapse.js b/static/js/toc-collapse.js
index 25212a4..b106ee2 100644
--- a/static/js/toc-collapse.js
+++ b/static/js/toc-collapse.js
@@ -31,16 +31,6 @@ var spy = function () {
collapseOthers(currentIndex);
}
-var onNavClick = function (name) {
- var elems = $(":header");
- elems.each(function (idx) {
- var id = $(this).attr('id');
- if (name == '#' + id + '-nav') {
- collapseOthers(idx);
- return;
- }
- });
-}
var collapseOthers = function (currentIndex) {
if (currentIndex == -1) {