1function initPostListHoverListener(postItems) { 2 3 postItems.forEach(postItem => { 4 5 postItem.addEventListener('mouseenter', e => { 6 let postItemContent = postItem.querySelector('.post-item-content') 7 let postItemContentHeight = postItemContent.scrollHeight; 8 postItemContent.style.top = `${postItem.clientHeight - postItemContentHeight}px`; 9 }) 10 postItem.addEventListener('mouseleave', e => { 11 let postItemContent = postItem.querySelector('.post-item-content') 12 postItemContent.style.top = ''; 13 }) 14 }); 15} 16 17initPostListHoverListener(document.querySelectorAll('.post-item'));
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.