1$(document).ready(function() { 2 var scrollHeight = $('.mobile-header-holder').offset().top; 3 4 $(window).on('load resize scroll', function() { 5 var headerHeight = $('.mobile-header').outerHeight(); 6 if ($(window).width() <= 991 && $(window).scrollTop() > scrollHeight) { 7 $('.mobile-header').addClass('fixed-menu-mobile'); 8 $('.mobile-header-holder').css('height', headerHeight + 'px'); 9 } else { 10 $('.mobile-header').removeClass('fixed-menu-mobile'); 11 $('.mobile-header-holder').css('height', 'auto'); 12 } 13 }); 14});
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.