MediaWiki:Common.js: Difference between revisions

From Yggenyk
Jump to navigation Jump to search
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: $(document).ready( function() { var tree = $('#wikitext-sidebar'); $('#p-logo').after( tree.html...")
 
No edit summary
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
$(document).ready( function() {
$(document).ready( function() {
   var tree = $('#wikitext-sidebar');
   var tree = $('#sidebartree');
   $('#p-logo').after( tree.html() );
   $('#p-logo').after( tree.html() );
   tree.remove();
   tree.remove();
});
});

Revision as of 08:48, 28 April 2015

/* Any JavaScript here will be loaded for all users on every page load. */
$(document).ready( function() {
  var tree = $('#sidebartree');
  $('#p-logo').after( tree.html() );
  tree.remove();
});

id=siteTree