aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_help.js
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-07-24 15:32:16 +0200
committerHarald Eilertsen <haraldei@anduin.net>2024-09-29 14:00:45 +0200
commit26ce231951e62f1912d457c8f6e6b0f2092173f1 (patch)
tree264a775e559c113b3ea126e2ccc3e7394abd706a /view/js/mod_help.js
parentfb9464437e68c13474409c969f934afe13768649 (diff)
downloadvolse-hubzilla-26ce231951e62f1912d457c8f6e6b0f2092173f1.tar.gz
volse-hubzilla-26ce231951e62f1912d457c8f6e6b0f2092173f1.tar.bz2
volse-hubzilla-26ce231951e62f1912d457c8f6e6b0f2092173f1.zip
Use html details element for toc on top of help pages.
This allows us to get rid of some more unneccessary JavaScript that just implements stuff that web browsers now do anyways.
Diffstat (limited to 'view/js/mod_help.js')
-rw-r--r--view/js/mod_help.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/view/js/mod_help.js b/view/js/mod_help.js
index abd0d1194..8308f23ec 100644
--- a/view/js/mod_help.js
+++ b/view/js/mod_help.js
@@ -1,14 +1,3 @@
-function docoTocToggle() {
- if ($('#doco-top-toc').is(':visible')) {
- $('#doco-toc-toggle').removeClass('bi-gear').addClass('bi-caret-right');
- } else {
- $('#doco-toc-toggle').removeClass('bi-caret-right').addClass('bi-caret-down');
- }
- $('#doco-top-toc').toggle();
-
- return false;
-}
-
toc = {};
// Generate the table of contents in the side nav menu (see view/tpl/help.tpl)
$(document).ready(function () {