Skip to content

Commit

Permalink
Update infinitescroll.js
Browse files Browse the repository at this point in the history
  • Loading branch information
EuJinnLucaShow committed Nov 16, 2023
1 parent cd53137 commit 36b6df5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/js/infinitescroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ function handleIntersection(entries, _observer) {
});
}

const firstElement = galleryContainer.firstElementChild;
if (firstElement) {
intersectionObserver.observe(firstElement);
}

function showWarningToast(message) {
iziToast.warning({
title: 'Warning',
Expand Down

0 comments on commit 36b6df5

Please sign in to comment.