MediaWiki:DonationForm.js: Difference between revisions
Content deleted Content added
hide bigamount error if showing smallamount |
No edit summary |
||
Line 216:
return oldText.replace( '$1', minAmount + ' ' + currency );
});
if ( currency === 'USD' ) {
// we don't need to include the conversion
$('.lp-error-bigamount').text( function( index, oldText ) {
return oldText.replace( '($1 $2) ', '' );
});
}
$('.lp-error-bigamount').text( function( index, oldText ) {
|