Template:Optin/Default: Difference between revisions
Content deleted Content added
No edit summary |
hide error once optin selected |
||
Line 109:
/* Called by Common.js */
function initOptin() {
// Only do all this if we have translated prompts▼
▲ $('.optin-options').on('click', function(){
▲ // Only do all this if we have translated prompts
if ( $('.optin-no-prompt').data('is-translated') === 'yes' ) {
if ( $('#optin-no').is(':checked') ) {
$('.optin-no-prompt').removeClass('is-positive');
Line 120 ⟶ 122:
$('.optin-no-prompt').addClass('is-positive');
}
}
});
}
</script>
|