1document.addEventListener('scroll', (e) => { 2 let scroll = this.scrollY; 3 if (this.scrollY> 50) { 4 el=document.querySelectorAll('.menu-container'); 5 el[0].classList.add('shrink-menu'); 6 // document.getElementByClassName('menu-container').classList.add('shrink-menu'); 7 } 8 else 9 { 10 el=document.querySelectorAll('.menu-container'); 11 el[0].classList.remove('shrink-menu'); 12 //document.getElementByClassName('menu-container').classList.remove('shrink-menu'); 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.