1/* 2 Controls Mobile Menu 3 */ 4 5(function($) { 6 7 mobileMenuHeight = function() { 8 var winHeight = $(window).height(); 9 var bodyHeight = $('#page-wrap').height(); 10 if (winHeight > bodyHeight) { 11 $('#mobile-menu').css({'min-height': winHeight + 'px'}); 12 } else { 13 $('#mobile-menu').css({'min-height': bodyHeight + 'px'}); 14 } 15 16 } 17 18 $(document).ready(function() { 19 $('#nav-toggle .toggle').click(function() { 20 $('body').toggleClass('active-nav'); 21 }); 22 23 $('#mobile-menu .li-header').each(function() { 24 $(this).click(function() { 25 $(this).toggleClass('open'); 26 $(this).next('ul').slideToggle('300'); 27 }); 28 }); 29 30 31 }); 32 33})(jQuery);
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.