1$(function(){ 2 $('#header-fixed #menu-icon, #header #menu-icon').click(function(e){ 3 $('body').toggleClass('hamb-is-visible') 4 e.stopPropagation() 5 }) 6 $('#menu-hamb').click(function(e){ 7 e.stopPropagation() 8 }) 9 $('#shim').click(function(e){ 10 $('body').filter('.hamb-is-visible').removeClass('hamb-is-visible') 11 }) 12 $('#menu-icon-close').click(function(){ 13 $('body').removeClass('hamb-is-visible') 14 }) 15 $("#menu-hamb").on('click', '.menu-branch', function(e){ 16 $this= $(this) 17 if ($this.hasClass('ajax')){ 18 $.ajax({ 19 url:$this.attr('href'), 20 type:'post', 21 dataType:'html', 22 clicked_element: $this, 23 success: function(html){ 24 $this.removeClass('ajax').parent().after(html) 25 $this.closest('.folder').addClass('open') 26 } 27 }) 28 } else { 29 $this.closest('.folder').toggleClass('open') 30 } 31 e.stopPropagation() 32 return false; 33 }) 34/* 35 function setHeight() { 36 windowHeight = $(window).innerHeight(); 37 $('#menu-hamb').css('min-height', windowHeight); 38 }; 39 setHeight(); 40 41 $(window).resize(function() { 42 setHeight(); 43 }); 44// $('#menu-hamb').on('touchstart', function(event){}); 45 46 */ 47})
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.