MediaWiki:Resources/landingpage.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 48:
$("#p-logo a").attr("href", "#");
$("#p-logo a").attr("title", "");
 
// prefill other amount box if param provided
var otherVal = getQuerystring( 'otherVal' );
if( otherVal == '' || isNaN( parseFloat( otherVal ) ) ){
return;
}
otherVal = parseFloat( otherVal );
$("#input_amount_other").attr( 'checked', true );
$("#input_amount_other_box").val( otherVal );
 
// Highest previous contribution adjustments (for emails)
Line 157 ⟶ 166:
$('.consider-amounts').html(considerAmountString);
}
 
// prefill other amount box if param provided
var otherVal = getQuerystring( 'otherVal' );
if( otherVal == '' || isNaN( parseFloat( otherVal ) ) ){
return;
}
otherVal = parseFloat( otherVal );
$("#input_amount_other").attr( 'checked', true );
$("#input_amount_other_box").val( otherVal );
});