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:28:12 +0300
committeramazingrise <8315221+AmazingRise@users.noreply.github.com>2021-05-14 11:28:12 +0300
commita7921db8468668c981d89e1f5ea8991e94e67187 (patch)
treea3c7e3c72e8ba78fa049e9a8fc8891dc0d49dd00 /static
parent755df67fc2aae5d27691cce9b572d704afa8b3a3 (diff)
Fix navClick.
Diffstat (limited to 'static')
-rw-r--r--static/js/toc-collapse.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/static/js/toc-collapse.js b/static/js/toc-collapse.js
index e215a97..d9ffe1e 100644
--- a/static/js/toc-collapse.js
+++ b/static/js/toc-collapse.js
@@ -31,6 +31,9 @@ var spy = function () {
collapseOthers(currentIndex);
}
+var onNavClick = function () {
+ spy()
+}
var collapseOthers = function (currentIndex) {
if (currentIndex == -1) {