diff --git a/scripts/AnimeNotifier.ts b/scripts/AnimeNotifier.ts index 124ee629..667a6156 100644 --- a/scripts/AnimeNotifier.ts +++ b/scripts/AnimeNotifier.ts @@ -57,7 +57,7 @@ export class AnimeNotifier { this.visibilityObserver = new IntersectionObserver( entries => { for(let entry of entries) { - if(entry.intersectionRatio > 0) { + if(entry.isIntersecting) { entry.target["became visible"]() this.visibilityObserver.unobserve(entry.target) }