1var lastScrollTop = 100; 2$(window).scroll(function(event){ 3 4if (!$('nav').hasClass('active')) { 5 6 var st = $(this).scrollTop(); 7 if (st > lastScrollTop){ 8 if (!$('body').hasClass('down')) { 9 $('body').addClass('down'); 10 $('body').removeClass('up'); 11 } 12 } else { 13 $('body').removeClass('down'); 14 $('body').addClass('up'); 15 } 16 17 lastScrollTop = st; 18 19 if ($(this).scrollTop() <= 100) { 20 $('body').removeClass('down'); 21 $('body').removeClass('up'); 22 }; 23 24}; 25 26});
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.