MediaWiki:DonationForm.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
rm utm fallback for Amazon - although Amazon is completely disabled at the moment |
check for monthly=0 |
||
Line 1,306: | Line 1,306: | ||
// Allow preselecting monthly |
// Allow preselecting monthly |
||
if( mw.util.getParamValue('monthly') |
if ( |
||
mw.util.getParamValue('monthly') |
|||
&& mw.util.getParamValue('monthly') !== 0 |
|||
&& donationForm.noRecurringCountries.indexOf( donationForm.country ) === -1 |
&& donationForm.noRecurringCountries.indexOf( donationForm.country ) === -1 |
||
) { |
|||
$('#frequency_monthly').click(); |
$('#frequency_monthly').click(); |
||
} |
} |