Content deleted Content added
Sideswipe9th (talk | contribs) update last edit date |
Sideswipe9th (talk | contribs) Temp disable so I can figure out the new page layout |
||
Line 22:
if (navTocContainer == null)
{
/*// it does not, so we're on a ToCless page
// get the div with the class name mw-page-container-inner
var pageContainer = document.getElementsByClassName("mw-page-container-inner");
Line 45:
var toolsBar = document.getElementById("vector-page-tools"); // then grab the tools bar by ID
toolsBar.disabled = true; // because enabling the tools bar will break this, we want to force it to disabled
newContainer.appendChild(toolsBar); // and finally append the tools bar to the floating ToC
}*/
}
else
|