Difference between revisions of "MediaWiki:Common.js"

From cxwiki

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

Revision as of 22:03, 25 February 2018

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

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