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

Content deleted Content added
No edit summary
top: Add release notes from main version
Line 8:
// The parent containers exist when the menu is hidden, and if not create empty ones
// Change log:
// - 6 April 2023
// * Fix bug where the className on the containers was not being set properly for newly created elements
// * Fix bug where the nav with id mw-panel-toc needs to have its margin-left set to 0px when it's added to ToCless pages.
// - 4 March 2023
// * Fix the tools menu not being appended on TOC-less pages after the previously always present nav I was relying on was removed
Line 51 ⟶ 54:
nav.className = "mw-table-of-contents-container vector-toc-landmark";
nav.arialabel = "Contents";
//nav.style.margin-left = "0px";
nav.style.setProperty("margin-left", "0px");
// append this nav as a child to the right page container