MediaWiki:DonationForm.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
CZ card types = vmad |
remove hack to not pre-select anything over 1000 Tag: Undo |
||
Line 607: | Line 607: | ||
If there isn't an option, add it to the "Other" box and select that */ |
If there isn't an option, add it to the "Other" box and select that */ |
||
var preSelectAmount = parseFloat( mw.util.getParamValue('preSelect') ); |
var preSelectAmount = parseFloat( mw.util.getParamValue('preSelect') ); |
||
if ( preSelectAmount > 0 |
if ( preSelectAmount > 0 ) { |
||
var $preSelectOption = $('input[name="amount"][value="' + preSelectAmount + '"]'); |
var $preSelectOption = $('input[name="amount"][value="' + preSelectAmount + '"]'); |
||
if ( $preSelectOption.length ) { |
if ( $preSelectOption.length ) { |