MediaWiki:Gadget-skinTogglesNew.js: Difference between revisions

no edit summary
(try and set the body class manually to emulate whatever extension powers the other wikis dark mode)
No edit summary
Line 116: Line 116:
}
}


if (CurrentDark ) {
if (currentDark) {
$('body').addClass('wgl-darkmode');
$('body').addClass('wgl-darkmode');
}
}