Content deleted Content added
sync with User:SD0001/dark-mode-toggle2.js |
No edit summary |
||
Line 34:
function addPortlets() {
if (mw.config.get('skin') === 'vector-2022') {
mw.loader.using('skins.vector.es6').then(function () {
makePortletLink('p-personal-sticky-header', 'pt-darkmode-sticky-header',
});
}
Line 138 ⟶ 137:
setHtmlClass();
setThemeColor();
// Recover state if the navigation was too quick
|