Template:2012FR/Form-section/Privacy/Default: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
use mw.util.getParamValue instead of parseParams |
rm showMonthlyCancel |
||
Line 15: | Line 15: | ||
<script type="text/javascript"> |
<script type="text/javascript"> |
||
$(document).ready(function() { |
$(document).ready(function() { |
||
if ( mw.util.getParamValue('form-countryspecific') == 'Form-countryspecific-monthly' || mw.util.getParamValue('form-countryspecific') == 'Form-countryspecific-recurring' |
if ( mw.util.getParamValue('form-countryspecific') == 'Form-countryspecific-monthly' || mw.util.getParamValue('form-countryspecific') == 'Form-countryspecific-recurring' ) { |
||
// We're on a monthly page, show the cancel text |
// We're on a monthly page, show the cancel text |
||
$('#cancel-monthly').show(); |
$('#cancel-monthly').show(); |