1$(function () 2{ 3 var windowMaxWidthForMobileMenu = 768; 4 5 $(window).resize(function () 6 { 7 mobileMenu(); 8 }); 9 10 $(".mobile_nav").click(function () 11 { 12 $(".nav-menu").slideToggle(); 13 return false; 14 }); 15 16 $(".content-left .menu h4").click(function () 17 { 18 if ($(window).width() < windowMaxWidthForMobileMenu) 19 $(this).siblings(":not(script)").slideToggle(); 20 }); 21 22 $(".nav-menu li").each(function () 23 { 24 $(this).find("ul").siblings("a").addClass("dropdown"); 25 }); 26 27 mobileMenu(); 28 29 function mobileMenu() 30 { 31 if ($(document).width() < windowMaxWidthForMobileMenu) 32 { 33 $("a.dropdown").off().click(function () 34 { 35 $(this).siblings("ul").slideToggle(); 36 return false; 37 }); 38 } 39 } 40});
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.