Template:Optin/Default: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 16:
</ul>
<div class="optin-no-prompt" data-is-translated="</html>{{IsTranslated|Template:OptinText/PromptNo|{{int:lang}}}}<html>">
<div class="optin-no-prompt__no">{{Translated|Template:OptinText/PromptNo}}</div>
<div class="optin-no-prompt__yes">{{Translated|Template:OptinText/PromptYes}}</div>
</div>
<div class="optin-smallprint links-in-new-tab">
Line 109:
/* Called by Common.js */
function initOptin() {
// Only do all this if we have translated prompts
if ( $('.optin-no-prompt').data('is-translated') === 'yes' ) {
$('.optin-options').on('click', function(){
if ( $('#optin-no').is(':checked') ) {
|