MediaWiki:Gadget-dark-mode-toggle.js: Difference between revisions

Content deleted Content added
migrate from deprecated mw.Uri to native URL
Remove mw.uri
 
Line 152:
 
 
$.when($.ready, mw.loader.using(['mediawiki.util', 'mediawiki.api', 'mediawiki.Uri', 'mediawiki.storage'])).then(function () {
setHtmlClass();
setThemeColor();