User

Difference between revisions of "WikiLucas00/bluell.js"

< User:WikiLucas00

m
m
Line 9: Line 9:
 
});
 
});
 
$( function() {
 
$( function() {
if (RLCONF["wgCodeEditorCurrentLanguage"]) {
+
if(typeof RLCONF['wgCodeEditorCurrentLanguage'] != 'undefined'){
$("*").css({ 'font-family' : ''});
+
    $("*").css({ 'font-family' : ''});
 +
    alert("ok")
 
} else {
 
} else {
 
return;
 
return;
 
}
 
}
 
});
 
});

Revision as of 11:41, 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.";
	};
});
$( function() {
	if(typeof RLCONF['wgCodeEditorCurrentLanguage'] != 'undefined'){
	    $("*").css({ 'font-family' : ''});
	    alert("ok")
	} else {
		return;
	}
});