Difference between revisions of "MediaWiki:Common.js"

From Lsdf
m (Created page with "Any JavaScript here will be loaded for all users on every page load.: jQuery(function($){ if ( mw.user.isAnon() ) { $('#p-tb').hide(); //id or class varies with skin }…")
 
m
 
Line 2: Line 2:
   
 
jQuery(function($){ if ( mw.user.isAnon() ) {
 
jQuery(function($){ if ( mw.user.isAnon() ) {
  +
 
$('#p-tb').hide(); //id or class varies with skin
 
$('#p-tb').hide(); //id or class varies with skin
  +
 
} } );
 
} } );

Latest revision as of 22:54, 16 March 2014

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

jQuery(function($){ if ( mw.user.isAnon() ) {

    $('#p-tb').hide(); //id or class varies with skin

 } } );