diff options
author | Einer von Vielen <tomwie@users.sourceforge.net> | 2015-01-13 00:06:44 +0100 |
---|---|---|
committer | Einer von Vielen <tomwie@users.sourceforge.net> | 2015-01-13 00:06:44 +0100 |
commit | 43b877caa1381c2ac8a031751acd2dab3ec739f0 (patch) | |
tree | 9b2e6e74c9e3ffa5ead6a7f89b6b7663fbb6dafa /view | |
parent | 9fc9af87e375e65a2bdee4d3c4009df9ed52b4aa (diff) | |
download | volse-hubzilla-43b877caa1381c2ac8a031751acd2dab3ec739f0.tar.gz volse-hubzilla-43b877caa1381c2ac8a031751acd2dab3ec739f0.tar.bz2 volse-hubzilla-43b877caa1381c2ac8a031751acd2dab3ec739f0.zip |
Test
...with table of content.
jquery.tableofconent.js works bunt not properly
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 2 | ||||
-rw-r--r-- | view/php/theme_init.php | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js index 9d5136c34..459600793 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1125,6 +1125,8 @@ $(document).ready(function() { $(".autotime").timeago(); + $("#toc").tableOfContents(); + }); diff --git a/view/php/theme_init.php b/view/php/theme_init.php index d43a87046..1b6c418f7 100644 --- a/view/php/theme_init.php +++ b/view/php/theme_init.php @@ -43,6 +43,7 @@ head_add_js('library/colorbox/jquery.colorbox-min.js'); head_add_js('library/bootstrap-tagsinput/bootstrap-tagsinput.js'); head_add_js('library/jquery.AreYouSure/jquery.are-you-sure.js'); +head_add_js('library/tableofcontents/jquery.tableofcontents.js'); /** * Those who require this feature will know what to do with it. * Those who don't, won't. |