Difference between revisions of "MediaWiki:Common.js"

From RiskScape Wiki
Jump to: navigation, search
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() {
 +
  var tree = $('#wikitext-sidebar');
 +
  $('#p-logo').after( tree.html() );
 +
  tree.remove();
 +
});
 +
 +
#p-navigation, #p-tb h5, #p-tb .pBody { display:none }

Revision as of 00:23, 12 August 2015

/* 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() );
  tree.remove();
});

#p-navigation, #p-tb h5, #p-tb .pBody { display:none }