Difference between revisions of "User:Aude/common.js"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(test)
 
(test)
Line 1: Line 1:
$('#content').css({'border' : 'solid 1px red'});
 
 
if ( ( mw.config.get('wgPageName') == 'Home' ) && ( wgNamespaceNumber == 0 ) ) {
 
if ( ( mw.config.get('wgPageName') == 'Home' ) && ( wgNamespaceNumber == 0 ) ) {
 
$('#donatebutton').css({'border' : 'solid 1px red'});
alert('home');
 
  +
$('#donatebutton').html('donate');
 
}
 
}

Revision as of 15:27, 16 September 2011

if ( ( mw.config.get('wgPageName') == 'Home' ) && ( wgNamespaceNumber == 0 ) ) {
  $('#donatebutton').css({'border' : 'solid 1px red'});
  $('#donatebutton').html('donate');
}