Adrian Poole, Author at We Got This Covered

Publish date: 2024-03-24
wgtc `; 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'; }); })(); }

ncG1vNJzZmivlZy8tcDHoqqcp6aav6awjZympmeRqsGpu9FomJ2qmZa7brzOqKOeZw%3D%3D