MediaWiki:DonationForm.js: Difference between revisions
Content deleted Content added
new donationForm.formatAmount method, and use it for both fee and error amounts |
round minimum amount up |
||
Line 228:
minAmount = donationForm.minimums[ currency ],
locale = donationForm.getLocale( mw.config.get('wgPageContentLanguage'), donationForm.country );
// Round up
minAmount = Math.ceil( minAmount * 100 ) / 100;
$('.lp-error-smallamount').text( function( index, oldText ) {
|