1(function ($) { 2 const $toggle = $("#id-mobile-header__toggle"); 3 const $panel = $("#id-mobile-header__panel"); 4 5 $toggle.click(function (e) { 6 e.preventDefault(); 7 toggleMenu(); 8 }); 9 10 function toggleMenu() { 11 if ($toggle.attr("aria-expanded") === "false") { 12 $toggle.attr("aria-expanded", "true"); 13 $panel.slideDown(); 14 } else { 15 $toggle.attr("aria-expanded", "false"); 16 $panel.slideUp(); 17 } 18 } 19 20 $(document).keyup(function (e) { 21 if (e.key === "Escape") { 22 $toggle.attr("aria-expanded", "false"); 23 $panel.hide(); 24 $(".fusion-megamenu-wrapper").attr("style", ""); 25 } 26 }); 27})(jQuery);
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.