From aa55a4da422330fe2816f1764b64f6607a0ca4aa Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 24 Aug 2018 10:31:56 +0200 Subject: Infinite scroll to list our subscriptions --- client/src/app/shared/video/infinite-scroller.directive.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/shared/video') diff --git a/client/src/app/shared/video/infinite-scroller.directive.ts b/client/src/app/shared/video/infinite-scroller.directive.ts index 0448e2c23..4dc1f86e7 100644 --- a/client/src/app/shared/video/infinite-scroller.directive.ts +++ b/client/src/app/shared/video/infinite-scroller.directive.ts @@ -11,7 +11,7 @@ export class InfiniteScrollerDirective implements OnInit, OnDestroy { @Input() containerHeight: number @Input() pageHeight: number @Input() percentLimit = 70 - @Input() autoLoading = false + @Input() autoInit = false @Output() nearOfBottom = new EventEmitter() @Output() nearOfTop = new EventEmitter() @@ -29,7 +29,7 @@ export class InfiniteScrollerDirective implements OnInit, OnDestroy { } ngOnInit () { - if (this.autoLoading === true) return this.initialize() + if (this.autoInit === true) return this.initialize() } ngOnDestroy () { -- cgit v1.2.3