1(function($) { 2 $('body').addClass('sticky'); 3 function scrollHeader() { 4 let windowPos = $(window).scrollTop(); 5 let headerHeight = $('#primary-header').outerHeight(); 6 if(window.innerWidth > 991) { 7 if(windowPos > headerHeight) { 8 $('body').addClass('scrolled'); 9 } else { 10 $('body').removeClass('scrolled'); 11 } 12 } else { 13 $('body').removeClass('scrolled') 14 } 15 } 16 $(window).on('load scroll', function(){ 17 scrollHeader(); 18 }); 19})(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.