User:Sideswipe9th/V22FloatingToolsMenu-debug-copy.js: Difference between revisions

Content deleted Content added
update last edit date
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