Shannon Cudd, Author at We Got This Covered
Publish date: 2024-05-31
Skip to content Posts navigation
`; var newStickySidebar = (new DOMParser().parseFromString(html, 'text/html')).body.firstChild; newStickySidebar.style.position = 'relative'; newStickySidebar.style.marginBottom = '20px'; newStickySidebar.classList.add(`post-${postId}`); newStickySidebar.style.height = document.querySelector(`.gamurs-inf-scroll-post.post-${postId}`).offsetHeight - 20 + 'px'; document.querySelector('aside#secondary').appendChild(newStickySidebar); window.addEventListener('scroll', function() { document.querySelector(`.sticky-sidebar-container.post-${postId}`).style.height = document.querySelector(`.gamurs-inf-scroll-post.post-${postId}`).offsetHeight - 20 + 'px'; }); })(); }ncG1vNJzZmivlZy8tcDHoqqcp6aav6awjZympmeRqsGpu9FoqqGZnqO8r6%2FUnZto