Difference between revisions of "MediaWiki:Common.js"

From cxwiki

(Created page with "Any JavaScript here will be loaded for all users on every page load.: $(document).ready( function() { var tree = $('#wikitext-sidebar'); $('#p-navigation').after( tr...")
 
Line 3: Line 3:
 
$(document).ready( function() {
 
$(document).ready( function() {
 
   var tree = $('#wikitext-sidebar');
 
   var tree = $('#wikitext-sidebar');
   $('#p-navigation').after( tree.html() );
+
   $('#p-personal').after( tree.html() );
 
   tree.remove();
 
   tree.remove();
 
});
 
});

Revision as of 06:57, 22 February 2018

/* Any JavaScript here will be loaded for all users on every page load. */

$(document).ready( function() {
  var tree = $('#wikitext-sidebar');
  $('#p-personal').after( tree.html() );
  tree.remove();
});