1$(function () { 2 $(document).on('click', '.contact-us-icon-container', function () { 3 if (!$(this).hasClass('active')) { 4 var buttonClasses = $(this).find('.contact-us-icon').first().attr('class').split(/\s+/); 5 $('.contact-us-icon-container').removeClass('active'); 6 $('.contact-us-icon.' + buttonClasses[1]).each(function () { 7 $(this).parent('.contact-us-icon-container').addClass('active'); 8 }); 9 10 $('.contact-us-info').slideUp(function () { 11 $(this).removeClass('active'); 12 }); 13 14 $('.contact-us-info.' + buttonClasses[1]).slideDown(function () { 15 $(this).addClass('active'); 16 }); 17 } 18 }); 19 20 $('.contact-us-icon-container').on("keydown", function (e) { 21 if (e.key === "Enter" || e.which === 13) { 22 e.preventDefault(); 23 this.click(); 24 } 25 }); 26});
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.