1 2function closeHelp() { 3 $('#modal-serve-aiuto').modal('hide'); 4} 5 6function trackingHelpEvent(ct, ck1) { 7 if (ck1) { 8 try { 9 wt.sendinfo({linkId: ct, customClickParameter: {7: ck1}}); 10 } catch (err) { 11 } 12 } else { 13 try { 14 wt.sendinfo({linkId: ct}); 15 } catch (err) { 16 } 17 } 18} 19 20$(document).ready(function () { 21 $('.close').click(function () { 22 $(".help-prospect").css({"display": "none"}); 23 $(".help-customer").css({"display": "none"}); 24 $(".help-body").css({"display": "block"}); 25 }) 26 $('.btn-help').click(function () { 27 $("#upgradeMod").addClass("hidden"); 28 $("#prospectMod").addClass("hidden"); 29 }); 30 $('#prospect').click(function () { 31 $(".help-prospect").css({"display": "block"}); 32 $(".help-body").css({"display": "none"}); 33 trackingHelpEvent('serveaiuto-noncliente', false); 34 }); 35 $('#customer').click(function () { 36 $(".help-customer").css({"display": "block"}); 37 $(".help-body").css({"display": "none"}); 38 trackingHelpEvent('serveaiuto-giacliente', false); 39 }); 40 $("#sitofono").click(function () { 41 //$(".help-body").css({"display": "none"}); 42 //$(".help-prospect").css({"display": "none"}); 43 //$("div").remove(".help-backdrop"); 44 closeHelp(); 45 $("#prospectMod").removeClass("hidden"); 46 $('#modal-sitofono').modal('show'); 47 $('#type-sit').val(sit_type); 48 trackingHelpEvent('serveaiuto-sitofono', false); 49 }); 50 $("#sitofono-up").click(function () { 51 //$(".help-body").css({"display": "none"}); 52 //$(".help-prospect").css({"display": "none"}); 53 54 closeHelp(); 55 $('#type-sit').val('UP'); 56 $("#upgradeMod").removeClass("hidden"); 57 $('#modal-sitofono').modal('show'); 58 trackingHelpEvent('serveaiuto-sitofono', false); 59 }); 60 $("#openChat").click(function () { 61 //$("div").remove(".help-backdrop"); 62 closeHelp(); 63 //lh_inst.lh_openchatWindow(); 64 trackingHelpEvent('serveaiuto-chat-whatsapp', false); 65 window.location.href = 'https://wa.me/message/MRJKLGYUTGNDE1'; 66 //$(".help-prospect").css({"display": "none"}); 67 }); 68 $("#call130").click(function () { 69 trackingHelpEvent('chiama_130', false); 70 }); 71 $("#gotoSite").click(function () { 72 $("div").remove(".help-backdrop"); 73 closeHelp(); 74 trackingHelpEvent('serveaiuto-assistenza', false); 75 }); 76});
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.