diff options
author | zotlabs <mike@macgirvin.com> | 2018-04-23 18:15:18 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-04-23 18:15:18 -0700 |
commit | 59ac3d04eb7739e995a1d7392c4ef8ca0b6c5f86 (patch) | |
tree | 441eaf27002043e6efec5c8935ae6faaca7d57eb /view/js | |
parent | 97308ad2fbb31ec90644e6145ec6e17bc9663c22 (diff) | |
parent | 2dff10564c66ceb9f199d4edc936a542c28f5104 (diff) | |
download | volse-hubzilla-59ac3d04eb7739e995a1d7392c4ef8ca0b6c5f86.tar.gz volse-hubzilla-59ac3d04eb7739e995a1d7392c4ef8ca0b6c5f86.tar.bz2 volse-hubzilla-59ac3d04eb7739e995a1d7392c4ef8ca0b6c5f86.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/mod_help.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/mod_help.js b/view/js/mod_help.js index a37207807..107845c04 100644 --- a/view/js/mod_help.js +++ b/view/js/mod_help.js @@ -21,7 +21,7 @@ $(document).ready(function () { var pageName = url.href.split('/').pop().split('#').shift().split('?').shift(); var linkName = $(this).attr('href').split('/').pop(); if (pageName === linkName) { - var tocUl = $(this).closest('a').append('<ul>').find('ul'); + var tocUl = $(this).closest('a').after('<ul>').next('ul'); tocUl.removeClass(); // Classes are automatically added to <ul> elements by something else tocUl.toc({content: "#doco-content", headings: "h3"}); tocUl.addClass('toc-content'); |