MediaWiki:Common.js: Difference between revisions
Content deleted Content added
undo, needs some tweaking for frequency options |
rm IE8 checked workaround for amounts (but leave for frequency as still used by other browsers there) |
||
Line 323:
$preSelectOption = $('input[name="amount"][value="' + preSelectAmount + '"]');
if ( $preSelectOption.length ) {
// Select existing input
$preSelectOption.prop('checked', true);
} else {
$('#input_amount_other_box').val( preSelectAmount );
$('#input_amount_other').prop('checked', true);
}
}
Line 372 ⟶ 370:
$(".frequency-options label").click(function() {
$(".frequency-options label").removeClass("checked");
$(this).addClass("checked");
});
|