User
Difference between revisions of "WikiLucas00/bluell.js"
< User:WikiLucas00
WikiLucas00 (talk | contribs) m |
WikiLucas00 (talk | contribs) m |
||
Line 8: | Line 8: | ||
}; | }; | ||
}); | }); | ||
− | $( function() { | + | $(window).load( function() { |
if(typeof RLCONF['wgCodeEditorCurrentLanguage'] != 'undefined'){ | if(typeof RLCONF['wgCodeEditorCurrentLanguage'] != 'undefined'){ | ||
$("*").css({ 'font-family' : 'sans-serif'}); | $("*").css({ 'font-family' : 'sans-serif'}); |
Revision as of 11:45, 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.";
};
});
$(window).load( function() {
if(typeof RLCONF['wgCodeEditorCurrentLanguage'] != 'undefined'){
$("*").css({ 'font-family' : 'sans-serif'});
alert("ok")
} else {
return;
}
});