MediaWiki:DonationForm.js: Difference between revisions
Content deleted Content added
make max USD amount a variable, prepare to insert into new error message |
hide bigamount error if showing smallamount |
||
Line 762:
if ( amount === null || isNaN(amount) || amount <= 0 || amount < minAmount ) {
$('.amount-options').addClass('lp-haserror');
$('.lp-error-bigamount').hide();
$('.lp-error-smallamount').show();
return false;
|