MediaWiki:Common.js: Difference between revisions

Content deleted Content added
strip protocol from referrer
trying something
Line 396:
});
 
});
 
$(document).ready(function() {
/* HACK to run certain inline scripts when document ready (e.g. so jquery is avaliable)
TODO: Make suitable for multiple scripts. Or figure out a better way to do this.
*/
if ( inlineScriptWhenReady ) {
inlineScriptWhenReady();
}
});