1 2window.addEventListener('scroll', ()=>{ 3 updateNav(); 4}); 5window.addEventListener('DOMContentLoaded', ()=>{ 6 updateNav(); 7}); 8 9function updateNav() { 10 const nav = document.querySelector("#lg-nav-v2-1"); 11 const call = document.querySelector(".call-num"); 12 13 if (window.pageYOffset >= 5) { 14 call.classList.add("is-scrolled"); 15 nav.classList.add("is-scrolled"); 16 } else { 17 call.classList.remove("is-scrolled"); 18 nav.classList.remove("is-scrolled"); 19 } 20}
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.