Use new_comment as the intersection object for delayed billboard (#20627)

This commit is contained in:
Ben Halpern 2024-02-14 11:48:04 -05:00 committed by GitHub
parent 360903445a
commit 13c105a6b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,7 +53,7 @@ export function implementSpecialBehavior(element) {
const observer = new IntersectionObserver(showDelayed, observerOptions);
const target = document.getElementById('comments');
const target = document.getElementById('new_comment');
observer.observe(target);
}
}