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)
This commit is contained in:
@@ -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"});
|
||||
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user