https://www.handsfreemama.com/wp-content/themes/restored316-market/js/global.js?ver=1.0.0.1788663474
1jQuery(function( $ ){ 2 3 $(".nav-primary .genesis-nav-menu, .nav-secondary .genesis-nav-menu").addClass("responsive-menu").before('<div class="responsive-menu-icon"></div>'); 4 5 $(".responsive-menu-icon").click(function(){ 6 $(this).next(".nav-primary .genesis-nav-menu, .nav-secondary .genesis-nav-menu").slideToggle(); 7 }); 8 9 $(window).resize(function(){ 10 if(window.innerWidth > 800) { 11 $(".nav-primary .genesis-nav-menu, .nav-secondary .genesis-nav-menu, nav .sub-menu").removeAttr("style"); 12 $(".responsive-menu > .menu-item").removeClass("menu-open"); 13 } 14 }); 15 16 17 $(".responsive-menu > .menu-item").click(function(event){ 18 if (event.target !== this) 19 return; 20 $(this).find(".sub-menu:first").slideToggle(function() { 21 $(this).parent().toggleClass("menu-open"); 22 }); 23 }); 24 25 // Local Scroll Speed 26 $.localScroll({ 27 duration: 750 28 }); 29 30 // Sticky Navigation 31 var headerHeight = $('.site-header').innerHeight(); 32 var beforeheaderHeight = $('.before-header').outerHeight(); 33 var abovenavHeight = headerHeight + beforeheaderHeight - 1; 34 35 $(window).scroll(function(){ 36 37 if ($(document).scrollTop() > abovenavHeight){ 38 39 $('.nav-secondary').addClass('fixed'); 40 41 } else { 42 43 $('.nav-secondary').removeClass('fixed'); 44 45 } 46 47 }); 48 49});
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.