diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-07-24 14:32:34 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-09-29 13:58:41 +0200 |
commit | fb9464437e68c13474409c969f934afe13768649 (patch) | |
tree | 384c2d30f072a6efa81a16a961e496a4033862a7 | |
parent | 2c0563877614fe0a92e670ec045d748c795934cd (diff) | |
download | volse-hubzilla-fb9464437e68c13474409c969f934afe13768649.tar.gz volse-hubzilla-fb9464437e68c13474409c969f934afe13768649.tar.bz2 volse-hubzilla-fb9464437e68c13474409c969f934afe13768649.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.
-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> |