1jQuery(function( $ ){ 2 3 $(".agency-navigation .agency-responsive-menu").addClass("responsive-menu").before('<div class="responsive-menu-icon"></div>'); 4 5 $(".responsive-menu-icon").click(function(){ 6 $(this).next(".agency-navigation .agency-responsive-menu").slideToggle(); 7 }); 8 9 $(window).resize(function(){ 10 if(window.innerWidth > 800) { 11 $(".agency-navigation .agency-responsive-menu, nav .sub-menu").removeAttr("style"); 12 $(".responsive-menu > .menu-item").removeClass("menu-open"); 13 } 14 }); 15 16 $(".responsive-menu > .menu-item").click(function(event){ 17 if (event.target !== this) 18 return; 19 $(this).find(".sub-menu:first").slideToggle(function() { 20 $(this).parent().toggleClass("menu-open"); 21 }); 22 }); 23 24});
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.