MediaWiki:DonationForm.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
also hide recurring smallprint for noRecurringCountries |
Default to variant = panExplain for India - phab:T259146 |
||
Line 1,071: | Line 1,071: | ||
&& donationForm.noRecurringCountries.indexOf( form.country.value ) === -1 ) { |
&& donationForm.noRecurringCountries.indexOf( form.country.value ) === -1 ) { |
||
$('#frequency_monthly').click(); |
$('#frequency_monthly').click(); |
||
} |
|||
// Default to variant = panExplain for India |
|||
// https://phabricator.wikimedia.org/T259146 |
|||
if ( form.country.value === 'IN' ) { |
|||
form.variant.value = 'panExplain'; |
|||
} |
} |
||