1$(function() { 2 3 /** 4 * Mobile Nav 5 * 6 * Hubspot Standard Toggle Menu 7 */ 8 9 $('.custom-menu-primary').addClass('js-enabled'); 10 11 /* Mobile button with three lines icon */ 12 $('.custom-menu-primary .hs-menu-wrapper').before('<div class="mobile-trigger"><i></i></div>'); 13 14 /* Uncomment for mobile button that says 'MENU' 15 $('.custom-menu-primary .hs-menu-wrapper').before('<div class="mobile-trigger">MENU</div>'); 16 */ 17 18 $('.custom-menu-primary .flyouts .hs-item-has-children > a').after(' <div class="child-trigger"><i></i></div>'); 19 $('.mobile-trigger').click(function() { 20 $(this).next('.custom-menu-primary .hs-menu-wrapper').slideToggle(250); 21 $('body').toggleClass('mobile-open'); 22 $('.child-trigger').removeClass('child-open'); 23 $('.hs-menu-children-wrapper').slideUp(250); 24 return false; 25 }); 26 27 $('.child-trigger').click(function() { 28 $(this).parent().siblings('.hs-item-has-children').find('.child-trigger').removeClass('child-open'); 29 $(this).parent().siblings('.hs-item-has-children').find('.hs-menu-children-wrapper').slideUp(250); 30 $(this).next('.hs-menu-children-wrapper').slideToggle(250); 31 $(this).next('.hs-menu-children-wrapper').children('.hs-item-has-children').find('.hs-menu-children-wrapper').slideUp(250); 32 $(this).next('.hs-menu-children-wrapper').children('.hs-item-has-children').find('.child-trigger').removeClass('child-open'); 33 $(this).toggleClass('child-open'); 34 return false; 35 }); 36 37}); 38 $(document).ready(function(){ 39 $( "h1,h3" ).each(function() { 40 if($( this ).html()==' ') { 41 $( this ).html(''); 42 } 43}); 44})
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.