MediaWiki:Common.js: Difference between revisions
Content deleted Content added
No edit summary |
drop workaround for lack of :checked in IE8, since it's no longer supported (https://phabricator.wikimedia.org/T118303) |
||
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 370 ⟶ 368:
$("#p-logo a").attr("title", "");
$(".input_amount_other").click(function() {
|