MediaWiki:Vector.js: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* All JavaScript here will be loaded for users of the Vector skin */
/* All JavaScript here will be loaded for users of the Vector skin */
/* Custom backport of sidebar TOC from Vector 2022 skin */
var t = document.querySelector("#toc.toc");
var e = document.querySelector("#mw-panel");
e.insertBefore(t, e.firstElementChild.nextSibling);

Revision as of 03:15, 22 February 2024

/* All JavaScript here will be loaded for users of the Vector skin */

/* Custom backport of sidebar TOC from Vector 2022 skin */
var t = document.querySelector("#toc.toc");
var e = document.querySelector("#mw-panel");
e.insertBefore(t, e.firstElementChild.nextSibling);