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');
   $('#quickbar').after( tree.html() );
+
   $('#p-search').after( tree.html() );
 
   tree.remove();
 
   tree.remove();
 
});
 
});

Latest 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');
  $('#p-search').after( tree.html() );
  tree.remove();
});