aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video/infinite-scroller.directive.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/video/infinite-scroller.directive.ts')
-rw-r--r--client/src/app/shared/video/infinite-scroller.directive.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/video/infinite-scroller.directive.ts b/client/src/app/shared/video/infinite-scroller.directive.ts
index 5f8a1dd6e..b1e88882c 100644
--- a/client/src/app/shared/video/infinite-scroller.directive.ts
+++ b/client/src/app/shared/video/infinite-scroller.directive.ts
@@ -39,7 +39,7 @@ export class InfiniteScrollerDirective implements OnInit, OnDestroy {
39 39
40 const scrollObservable = fromEvent(this.container || window, 'scroll') 40 const scrollObservable = fromEvent(this.container || window, 'scroll')
41 .pipe( 41 .pipe(
42 startWith(null), 42 startWith(null as string), // FIXME: typings
43 throttleTime(200, undefined, throttleOptions), 43 throttleTime(200, undefined, throttleOptions),
44 map(() => this.getScrollInfo()), 44 map(() => this.getScrollInfo()),
45 distinctUntilChanged((o1, o2) => o1.current === o2.current), 45 distinctUntilChanged((o1, o2) => o1.current === o2.current),