User:GKPlight/common.js

$(function {	var header = null	document.querySelectorAll(".navbox-row-active.nav-js").forEach( function(activerow) { if (header === null){ header = activerow.parentElement.firstChild }		activerow.parentElement.insertBefore(activerow, activerow.parentElement.firstChild); })	header.parentElement.insertBefore(header, header.parentElement.firstChild) });

$(function {	const container = document.getElementById("navbox-active");	container.style.display = "table"	document.querySelectorAll(".nav-js2").forEach( function(activerow) { container.appendChild(activerow); activerow.style.display = "" }); });