diff options
author | Mario <mario@mariovavti.com> | 2024-10-02 20:07:31 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-10-02 20:07:31 +0000 |
commit | aa42f6a6b28a7e91d3a1216eaf88d086930db264 (patch) | |
tree | abab525d94ffedcd6e1d5daf38a2fb2ff76f93e6 | |
parent | 13345d3cbe9e40be6040e57d157d713d99ed0c6b (diff) | |
download | volse-hubzilla-aa42f6a6b28a7e91d3a1216eaf88d086930db264.tar.gz volse-hubzilla-aa42f6a6b28a7e91d3a1216eaf88d086930db264.tar.bz2 volse-hubzilla-aa42f6a6b28a7e91d3a1216eaf88d086930db264.zip |
Remove link to "Contents" from the help table of contect sidebar.
Changes the element where the jQuery.toc plugin looks for headings to
only include the actual help contents, not the toc itself.
(cherry picked from commit fb9464437e68c13474409c969f934afe13768649)
Co-authored-by: Harald Eilertsen <haraldei@anduin.net>
-rw-r--r-- | view/tpl/help.tpl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/view/tpl/help.tpl b/view/tpl/help.tpl index 68e1c6694..ce3f46fdb 100644 --- a/view/tpl/help.tpl +++ b/view/tpl/help.tpl @@ -7,7 +7,7 @@ {{$module->missing_translation_message()}} </div> {{/if}} - <div class="section-content-wrapper" id="doco-content"> + <div class="section-content-wrapper"> <h3 id="doco-top-toc-heading"> <span class="fakelink" onclick="docoTocToggle(); return false;"> <i class="bi bi-caret-right fakelink" id="doco-toc-toggle"></i> @@ -15,6 +15,8 @@ </span> </h3> <ul id="doco-top-toc" style="margin-bottom: 1.5em; display: none;"></ul> - {{$module->render_content()}} + <div id="doco-content"> + {{$module->render_content()}} + </div> </div> </div> |