MediaWiki:DonationFormSandbox.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
use new method when localizing errors |
non-breaking space for smallamount error Tag: Reverted |
||
Line 230: | Line 230: | ||
$('.lp-error-smallamount').text( function( index, oldText ) { |
$('.lp-error-smallamount').text( function( index, oldText ) { |
||
return oldText.replace( '$1', donationForm.formatAmount( minAmount, locale ) + ' |
return oldText.replace( '$1', donationForm.formatAmount( minAmount, locale ) + ' ' + currency ); |
||
}); |
}); |
||