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:
authoramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-06-03 12:03:46 +0300
committeramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-06-03 12:03:46 +0300
commit2f849764328993a78a398b0bfcf1f16771423aeb (patch)
tree54cba88d61436a410275cc5a99e2a04ff4f5deb9
parentfe503379b2e9930459d75096f7bed0e0cfbaf334 (diff)
Improve the usability of ToC in mobile view.
-rw-r--r--layouts/partials/toc.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html
index 4f4a79c..667b12c 100644
--- a/layouts/partials/toc.html
+++ b/layouts/partials/toc.html
@@ -28,7 +28,7 @@
{{ end }}
{{ $anchorId := (replaceRE ".* id=\"(.*?)\".*" "$1" $header ) }}
<li>
- <a href="#{{ $anchorId }}" v-on:click="closeDrawer" onclick="collapseOthers(`#{{ $anchorId | safeJS}}-nav`)" id="{{ $anchorId }}-nav">
+ <a href="#{{ $anchorId }}" onclick="collapseOthers(`#{{ $anchorId | safeJS}}-nav`)" id="{{ $anchorId }}-nav">
{{ $header | plainify | htmlUnescape }}
</a>
</li>