Difference between revisions of "MediaWiki:Common.js"
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. */ | ||
− | |||
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 | ||
− | } } ); | + | } } ); |
− |
Revision as of 17:09, 8 March 2016
/* 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 } } );