Difference between revisions of "User:Aude/common.js"
Jump to navigation
Jump to search
(test) |
(test) |
||
Line 1: | Line 1: | ||
⚫ | |||
if ( ( mw.config.get('wgPageName') == 'Home' ) && ( wgNamespaceNumber == 0 ) ) { |
if ( ( mw.config.get('wgPageName') == 'Home' ) && ( wgNamespaceNumber == 0 ) ) { |
||
⚫ | |||
− | 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');
}