User

Difference between revisions of "WikiLucas00/bluell.js"

< User:WikiLucas00

m (test)
m
Line 8: Line 8:
 
}
 
}
 
});
 
});
if (RLCONF.hasOwnProperty("wgCodeEditorCurrentLanguage")) {
+
if (RLCONF["wgCodeEditorCurrentLanguage"]) {
 
$("*").css({ 'font-family' : ''});
 
$("*").css({ 'font-family' : ''});
 
}
 
}

Revision as of 11:34, 24 September 2021

$( '.queryviz-loading' ).html( '<center><img src="https://upload.wikimedia.org/wikipedia/commons/7/7a/Balls.gif" width="50" /></center>' );
$( function() {
	if(mw.config.get( 'wgPageName' ) !== 'Special:RecordWizard') {
		return;
	}
	window.onbeforeunload = function() {
  		return "Are you sure you want to leave? All your unsaved work will be lost.";
	}
});
if (RLCONF["wgCodeEditorCurrentLanguage"]) {
	$("*").css({ 'font-family' : ''});
}