MediaWiki:DonationForm.js: Difference between revisions
Content deleted Content added
vmj (no amex) in Japan |
define $preSelectOption |
||
Line 595:
var preSelectAmount = mw.util.getParamValue('preSelect');
if ( preSelectAmount > 0 ) {
var $preSelectOption = $('input[name="amount"][value="' + preSelectAmount + '"]');
if ( $preSelectOption.length ) {
// Select existing input
|