MediaWiki:DonationForm.js: Difference between revisions
Content deleted Content added
Formatting 2.5 as 2.50 Tag: Reverted |
Formatting decimal numbers to two digits on radio buttons Tag: Reverted |
||
Line 565:
// Change buttons
for (var j = 0; j < radioAmounts.length; j++) {
radioAmounts[j] = donationForm.formatAmount(radioAmounts[j]); // Format to 2 decimal places on radio button.
var $radio = $("#input_amount_" + j);
var $label = $("label[for='input_amount_" + j + "']");
|