1const appHeight = () => { 2 var adminbarHeight = 0; 3 if (document.getElementById('wpadminbar')) { 4 console.log(document.getElementById('wpadminbar')); 5 //adminbarHeight = $('#wpadminbar').height(); 6 adminbarHeight = document.getElementById('wpadminbar').getBoundingClientRect().height; 7 } 8 const doc = document.documentElement; 9 doc.style.setProperty('--app-height', `${window.innerHeight - adminbarHeight}px`); 10}; 11window.addEventListener('resize', appHeight); 12appHeight(); 13setTimeout(function () { 14 appHeight(); 15}, 100); 16 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.