Difference between revisions of "MediaWiki:Common.js"

From EAGLE MediaWiki
Jump to navigation Jump to search
m
Line 1: Line 1:
  +
/*
  +
The actual script is at [[MediaWiki:AuthorityControl.js]].
  +
This is needed in order to defer the loading of the code to make the script work correctly.
  +
*/
  +
 
jQuery(document).ready(function(){
 
jQuery(document).ready(function(){
mw.loader.load('//www.eagle-network.eu/wiki/index.php?title=MediaWiki:AuthorityControl.js&action=raw&ctype=text/javascript');
+
mw.loader.load('//www.eagle-network.eu/wiki/index.php?title=MediaWiki:AuthorityControl.js&action=raw&ctype=text/javascript');
 
});
 
});

Revision as of 10:57, 12 May 2014

/*
	The actual script is at [[MediaWiki:AuthorityControl.js]].
	This is needed in order to defer the loading of the code to make the script work correctly.
*/

jQuery(document).ready(function(){
	mw.loader.load('//www.eagle-network.eu/wiki/index.php?title=MediaWiki:AuthorityControl.js&action=raw&ctype=text/javascript');
});