1$(document).ready(function(){ 2 $("#optin-partners").on('click',function(){ 3 if( $(this).is(':checked') ) 4 { 5 $(".hidden-optin-partners").click(); 6 } 7 else{ 8 $(".hidden-optin-partners").click(); 9 } 10 }); 11 12 $("#optin").on('click',function(){ 13 $(".hidden-optin").each(function(){ 14 if( $("#optin").is(":checked") ){ 15 $(this).click(); 16 } 17 else{ 18 $(this).click(); 19 } 20 }) 21 }); 22 23 $(".link-subscription").on('click',function(e){ 24 e.preventDefault(); 25 link = $(this).attr('href'); 26 let url = new URL(window.location.href); 27 let redirectUri = url.searchParams.get("redirect_uri"); 28 if(redirectUri != ""){ 29 link+="&redirect_uri="+redirectUri; 30 } 31 location.href = link; 32 }); 33 34 });
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.