diff options
author | <tomwie@users.sourceforge.net> | 2015-01-14 22:47:54 +0100 |
---|---|---|
committer | <tomwie@users.sourceforge.net> | 2015-01-14 22:47:54 +0100 |
commit | 09129cbe5f7e8cb331b68469b74438464960af0b (patch) | |
tree | 7e7a2cceec6f739032381f5141f2e7002a96530a /view/js/main.js | |
parent | 43b877caa1381c2ac8a031751acd2dab3ec739f0 (diff) | |
download | volse-hubzilla-09129cbe5f7e8cb331b68469b74438464960af0b.tar.gz volse-hubzilla-09129cbe5f7e8cb331b68469b74438464960af0b.tar.bz2 volse-hubzilla-09129cbe5f7e8cb331b68469b74438464960af0b.zip |
Added a table of content as bbcode element [toc] for webpages
- Included jquery.toc.js (http://www.apache.org/licenses/LICENSE-2.0)
- Modified jquery.toc.js to work with the webpages of the red#matrix
- Added info to the help
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js index 459600793..0c56c8d41 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1125,7 +1125,7 @@ $(document).ready(function() { $(".autotime").timeago(); - $("#toc").tableOfContents(); + $("#toc").toc({content: "div.page-body", headings: "h1,h2,h3,h4"}); }); |