1const mobileStickyBar = document.querySelector('.mobile-sticky-bar'); 2 3function showmobileStickyBar() { 4 5 6 const endScreenOnScroll = document.body.offsetHeight - window.innerHeight * 1.5; 7 8 if (document.documentElement.scrollTop > (window.innerHeight / 2) && document.documentElement.scrollTop < endScreenOnScroll) { 9 mobileStickyBar.classList.add('active'); 10 } else { 11 mobileStickyBar.classList.remove('active'); 12 } 13} 14 15window.addEventListener('scroll', () => { 16 showmobileStickyBar(); 17});
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.