Commit 5b858a37 authored by Mark Harding's avatar Mark Harding

(fix): check visibility needs to be bound

parent cef7c142
No related merge requests found
Pipeline #84945859 passed with stages
in 90 minutes and 57 seconds
......@@ -61,7 +61,9 @@ export class ActivityAnalyticsOnViewService implements OnDestroy {
}
});
this.scroll$ = this.scroll.listenForView().subscribe(this.checkVisibility);
this.scroll$ = this.scroll.listenForView().subscribe(() => {
this.checkVisibility;
});
// Do a check for the initial posts
this.checkVisibility();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment