diff --git a/javascript/doc-structure/sitepage-2022.js b/javascript/doc-structure/sitepage-2022.js index 2d79b275..0e9e5a3b 100644 --- a/javascript/doc-structure/sitepage-2022.js +++ b/javascript/doc-structure/sitepage-2022.js @@ -138,10 +138,10 @@ var mainNavigation = ''+ versionList+ g.disclaimer+ ' ' -if (f.toc && f.toc === 'no') { } //do nothing +if (f.toc && f.toc === 'no') { console.log('Doing nothing wrt toc.') } //do nothing else mainNavigation += ''+ ' '+ ' ' @@ -252,7 +252,7 @@ function completePage () { document.getElementById('relatedlinks').innerHTML = sidebarExtras } fillinTranslations() - if (document.getElementById("toclocation")) createtoc(false); + if (document.getElementById("toc")) createtoc(3); getURLs() }