diff options
author | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2021-05-14 11:28:12 +0300 |
---|---|---|
committer | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2021-05-14 11:28:12 +0300 |
commit | a7921db8468668c981d89e1f5ea8991e94e67187 (patch) | |
tree | a3c7e3c72e8ba78fa049e9a8fc8891dc0d49dd00 /static | |
parent | 755df67fc2aae5d27691cce9b572d704afa8b3a3 (diff) |
Fix navClick.
Diffstat (limited to 'static')
-rw-r--r-- | static/js/toc-collapse.js | 3 |
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) { |