diff options
author | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2020-06-03 12:03:46 +0300 |
---|---|---|
committer | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2020-06-03 12:03:46 +0300 |
commit | 2f849764328993a78a398b0bfcf1f16771423aeb (patch) | |
tree | 54cba88d61436a410275cc5a99e2a04ff4f5deb9 | |
parent | fe503379b2e9930459d75096f7bed0e0cfbaf334 (diff) |
Improve the usability of ToC in mobile view.
-rw-r--r-- | layouts/partials/toc.html | 2 |
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> |