MediaWiki:DonationForm.js: Difference between revisions
Content deleted Content added
focus error when shown for screenreaders |
focus amount errors when shown for screenreaders |
||
Line 1,048:
$('.amount-options').addClass('lp-haserror');
$('.lp-error-bigamount').hide();
$('.lp-error-smallamount').show().focus();
return false;
} else if ( amount > donationForm.maxLocal ) {
$('.amount-options').addClass('lp-haserror');
$('.lp-error-bigamount').show().focus();
return false;
} else {
|