1jQuery(document).ready(function($) { 2 3 $(".menu-primary").addClass("mobile-menu").before('<div id="mobile-menu-icon"></div>'); 4 $("#mobile-menu-icon").click(function() { 5 $(".mobile-menu").slideToggle(); 6 }); 7 $(window).resize(function(){ 8 if(window.innerWidth > 768) { 9 $(".mobile-menu").removeAttr("style"); 10 } 11 }); 12 13});
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.