MediaWiki:Vector.js: Difference between revisions

no edit summary
imported>Smallketchup82
No edit summary
imported>Smallketchup82
No edit summary
Line 10: Line 10:
mw.loader.getScript( '/index.php?title=MediaWiki:Dark.css&action=raw&ctype=text/css', 'text/css' ).then( // -> Now load DarkReader to refine our custom dark css styling
mw.loader.getScript( '/index.php?title=MediaWiki:Dark.css&action=raw&ctype=text/css', 'text/css' ).then( // -> Now load DarkReader to refine our custom dark css styling
function () {
function () {
console.log("Custom styling enabled!")
},
},
function ( e ) {
function ( e ) {