From 61257094b7befe12dadbd3593fcfa70d09da2fbb Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 12 Mar 2017 22:21:49 +0100 Subject: fix help menu --- doc/toc.html | 70 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'doc/toc.html') diff --git a/doc/toc.html b/doc/toc.html index 3c9c5c299..11635930e 100644 --- a/doc/toc.html +++ b/doc/toc.html @@ -1,30 +1,30 @@
-
+

About

- -
+

Members

-
@@ -33,12 +33,12 @@ Administrators
-
@@ -47,14 +47,14 @@ Developers
-
@@ -63,10 +63,10 @@ Tutorials
-
@@ -74,16 +74,16 @@ toc = {}; // Generate the table of contents in the side nav menu (see view/tpl/help.tpl) $(document).ready(function () { - $(".panel-collapse.in").find('a').each(function(){ + $(".doco-section").find('a').each(function(){ var url = document.createElement('a'); url.href = window.location; var pageName = url.href.split('/').pop().split('#').shift().split('?').shift(); var linkName = $(this).attr('href').split('/').pop(); if(pageName === linkName) { - var tocUl = $(this).closest('li').append('
    ').find('ul'); + var tocUl = $(this).closest('a').append('
      ').find('ul'); tocUl.removeClass(); // Classes are automatically added to
        elements by something else tocUl.toc({content: "#doco-content", headings: "h3"}); - tocUl.addClass('toc-content sub-menu'); + tocUl.addClass('toc-content'); tocUl.attr('id', 'doco-side-toc'); } -- cgit v1.2.3