MediaWiki:Common.js: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
mw.loader.using( 'jquery' ).then( function () { | mw.loader.using( 'jquery' ).then( function () { | ||
$( function() { // Document ready shorthand | $( function() { // Document ready shorthand |
Revision as of 00:04, 16 April 2025
mw.loader.using( 'jquery' ).then( function () { $( function() { // Document ready shorthand document.documentElement.classList.add( 'vector-theme-dark' ); } ); } );