Template:2011FR/Form-section-links: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 44: | Line 44: | ||
if (paramsOut['form-countryspecific'] == 'Form-countryspecific-monthly') { |
if (paramsOut['form-countryspecific'] == 'Form-countryspecific-monthly') { |
||
// We're on a monthly page, fix up the onetime link and show that instead |
// We're on a monthly page, fix up the onetime link and show that instead |
||
paramsOut['form-countryspecific'] = 'Form-countryspecific- |
paramsOut['form-countryspecific'] = 'Form-countryspecific-control'; |
||
document.getElementById('onetime-link').href = baseURL + $.param(paramsOut); |
document.getElementById('onetime-link').href = baseURL + $.param(paramsOut); |
||
$('#monthly-link').hide(); |
$('#monthly-link').hide(); |