template fix - page toc js

This commit is contained in:
mDuo13
2016-03-02 15:31:32 -08:00
parent 798ea6fa40
commit 198a11c7bf
21 changed files with 3381 additions and 3823 deletions

View File

@@ -1,5 +1,5 @@
$(document).ready(function() {
tableOfContents = $("<ul id='dev_nav_sidebar'>").appendTo(".sidebar #cont")
tableOfContents = $("<ul class='dev_nav_sidebar'>").appendTo(".sidebar #cont")
$("h1, h2, h3").each(function() {
indent_level = this.tagName.toLowerCase().substr(1);
if (this.id) { //only show headers with IDs. which should be all of them.