Difference between revisions of "MediaWiki:Common.js"
(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 }...") |
|||
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:07, 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 } } ); --