1var desktop = false, mobile = false; 2 3function window_large(){ 4 var window_width = $(window).width(); 5 if(window_width >= 712){ 6 if (desktop == false){ 7 mobile = false; 8 desktop = true; 9 $('#nav_toggle').show(); 10 } 11 } else if(window_width < 712) { 12 if (mobile == false) { 13 mobile = true; 14 desktop = false; 15 } 16 } 17} 18 19window_large(); 20function resize() { 21 window_large(); 22} 23var TO = false; 24$(window).resize(function(){ 25 if(TO !== false) 26 clearTimeout(TO); 27 TO = setTimeout(resize, 20); //200 is time in miliseconds 28}); 29 30 31 32$(".nav_toggle").click(function(e){ 33 $("#site-navigation").slideToggle(); 34 e.preventDefault(); 35});
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.