MediaWiki:Gadget-darkmode.js: Difference between revisions

Content deleted Content added
mNo edit summary
mNo edit summary
Line 29:
mw.loader.using(['wgl.theme.dark']).then(function() {
$('body').addClass('wgl-theme-dark')
$('body').removeClass('wgl-theme-lightvector')
});
} else {
$('body').addClass('wgl-theme-lightvector')
$('body').removeClass('wgl-theme-dark')
}