MediaWiki:DonationForm T201415.js: Difference between revisions

Content deleted Content added
more misc cleanup
rm amountGiven usage
 
(One intermediate revision by the same user not shown)
Line 668:
function selectAmount() {
$('#input_amount_other_box').val('');
$('input[name="amountGiven"]').val('');
}
 
Line 856 ⟶ 855:
otherAmount = otherAmount.replace(/[\$£€¥,.]/g, '');
otherAmount = otherAmount.replace(/:/, '.');
form.amountGiven.value = otherAmount; // TODO: change this
amount = otherAmount;
donationForm.extraData.otherAmt = 1;
Line 1,073 ⟶ 1,071:
 
// Disable logo link
$('#p-logo a').attr(' { href: '#', title: '#' } );
$('#p-logo a').attr('title', '');
 
// These don't need to be tabbable on the landing page