aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorEiner von Vielen <tomwie@users.sourceforge.net>2015-01-18 14:21:26 +0100
committerEiner von Vielen <tomwie@users.sourceforge.net>2015-01-18 14:21:26 +0100
commit123ca1d403a7e841b4f791f04a00acbec10c2b5b (patch)
treebb64696523cfe8ae8cc54e5601981e166bf0696e /view/js/main.js
parent6657712714cb17afcd5fc3c81625a395279d8436 (diff)
downloadvolse-hubzilla-123ca1d403a7e841b4f791f04a00acbec10c2b5b.tar.gz
volse-hubzilla-123ca1d403a7e841b4f791f04a00acbec10c2b5b.tar.bz2
volse-hubzilla-123ca1d403a7e841b4f791f04a00acbec10c2b5b.zip
Fixed bbode element toc for webpages
- At the moment webpages can contain empty headings if the textarea "Title" is left empty in the webpage creator (https://hostname/webpages/username)
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 0c56c8d41..fac5e1143 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1125,7 +1125,7 @@ $(document).ready(function() {
$(".autotime").timeago();
- $("#toc").toc({content: "div.page-body", headings: "h1,h2,h3,h4"});
+ $("#toc").toc({content: "body", headings: "h1,h2,h3,h4"});
});