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

Content deleted Content added
add some debug strings
No edit summary
Line 46:
if (pageContainer.length > 0)
{
console.log("Found page-container-inner");
// create the nav that should be present but isn't
nav = document.createElement("NAV");
// assign it the right ID, classes, and arialabel
nav.id = "mw-panel-toc";
nav.classclassName = "mw-table-of-contents-container vector-toc-landmark";
nav.arialabel = "Contents";
// append this nav as a child to the right page container