1jQuery(function( $ ){ 2 3 // Enable responsive menu icon for mobile 4 $(".nav-primary .genesis-nav-menu").addClass("responsive-menu").after('<div class="responsive-menu-icon"></div>'); 5 6 $(".responsive-menu-icon").click(function(){ 7 $(".nav-primary .genesis-nav-menu").slideToggle(); 8 }); 9 10 $(window).resize(function(){ 11 if(window.innerWidth > 799) { 12 $("nav .sub-menu").removeAttr("style"); 13 $(".responsive-menu > .menu-item").removeClass("menu-open"); 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});
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.