227
editsno edit summary
MetalManeMc (talk | contribs) No edit summary Tag: Manual revert |
MetalManeMc (talk | contribs) No edit summary |
||
Line 34: | Line 34: | ||
if (isUsingDarkmode === true) { | if (isUsingDarkmode === true) { | ||
mw.loader.using([' | mw.loader.using(['body.theme-dark-grey']).then(function() { | ||
$('body').addClass(' | $('body').addClass('body.theme-dark-grey') | ||
$('body').removeClass('wgl-theme-light') | $('body').removeClass('wgl-theme-light') | ||
}); | }); | ||
} else { | } else { | ||
$('body').addClass('wgl-theme-light') | $('body').addClass('wgl-theme-light') | ||
$('body').removeClass(' | $('body').removeClass('body.theme-dark-grey') | ||
} | } | ||
}); | }); |