MediaWiki:DonationForm.js: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 767:
}
};
donationForm.updateFeeDisplay = function() {
$('ptf').slideDown();
};
/* End form functions */
Line 793 ⟶ 798:
}
// Validate amount and update fee when selected/entered
$('.amount-options').on( 'input change', function() {
donationForm.validateAmount donationForm.updateFeeDisplay();
});
// Disable submitting form with Enter key
|