aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorEiner von Vielen <tomwie@users.sourceforge.net>2015-02-14 20:33:51 +0100
committerEiner von Vielen <tomwie@users.sourceforge.net>2015-02-14 20:33:51 +0100
commit6ed8fb30b8b6b70c1f9a2ff5651d6a4892060db9 (patch)
tree871a9637fc113c817321f5f13f17a75c55232cd8 /view/js/main.js
parent59828593c14a64cecf7ee5c077da9f918062ed60 (diff)
downloadvolse-hubzilla-6ed8fb30b8b6b70c1f9a2ff5651d6a4892060db9.tar.gz
volse-hubzilla-6ed8fb30b8b6b70c1f9a2ff5651d6a4892060db9.tar.bz2
volse-hubzilla-6ed8fb30b8b6b70c1f9a2ff5651d6a4892060db9.zip
Changed bb code [toc] to make it more flexible
This usage is know closer to the original usage of http://ndabas.github.io/toc/ Changed: - jquery.toc.js: Do not check for empty headings - bbcode.php: Added processing of [toc] with parameters - main.js: Use the default params for jquery.toc.js - bbcode.html: Added more help for [toc] and corrected some html
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 17ea42db7..48505fc04 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1125,7 +1125,7 @@ $(document).ready(function() {
$(".autotime").timeago();
- $("#toc").toc({content: "body", headings: "h1,h2,h3,h4"});
+ $("#toc").toc();
});