1$(document).ready(function () { 2 var $cform = $("form.cookieprefform"); 3 $cform.validate(); 4 $cform.submit(function (e) { 5 e.preventDefault(); 6 if ($(this).valid()) { 7 var data = $(this).serializeForm(); 8 ajax({ 9 data, 10 success: function (s) { 11 if (data.cookielevel == 1) { 12 window.dataLayer = [] 13 $('#cookieprefs').removeClass('appear'); 14 return 15 } 16 if (typeof gaSendDefault !== 'function') { 17 console.error('Cannot track google analytics. Make sure you have configured a tracking id'); 18 return 19 } 20 gaSendDefault(data.cookielevel != 3) 21 $('#cookieprefs').removeClass('appear'); 22 }, 23 error: function (e) { 24 notification(e.message); 25 } 26 }); 27 } 28 }); 29 30 $(".leesmeer").click(function () { 31 $(this).hide(); 32 $(this).parent().find('.leesminder').show(); 33 $(this).parent().find('p').show(); 34 }); 35 36 $(".leesminder").click(function () { 37 $(this).hide(); 38 $(this).parent().find('.leesmeer').show(); 39 $(this).parent().find('p').not('p:first-of-type').hide(); 40 }); 41 42 $('#cookieprefs').addClass('appear'); 43});
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.