1$(document).ready(function() { 2 $('#cookieNote .oeecondaanalytics-optout').on('click', function() { 3 oeEcondaAnalyticsOptOut(); 4 }); 5 $('#cookieNote .oeecondaanalytics-optin').on('click', function() { 6 oeEcondaAnalyticsOptIn(); 7 }); 8 if ($('#oeecondaanalytics-update').length) { 9 10 if (oeEcondaAnalyticsGetCookie('emos_optout') === '1') { 11 $('#oeecondaanalytics-update input[value="DENY"]').attr('checked', true); 12 } 13 if (oeEcondaAnalyticsGetCookie('emos_optout') === '0') { 14 $('#oeecondaanalytics-update input[value="ALLOW"]').attr('checked', true); 15 } 16 $('#oeecondaanalytics-update button').on('click', function() { 17 switch($('#oeecondaanalytics-update input:checked').val()) { 18 case 'ALLOW': 19 oeEcondaAnalyticsOptIn(); 20 break; 21 case 'DENY': 22 oeEcondaAnalyticsOptOut(); 23 break; 24 } 25 }); 26 } 27});
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.