diff --git a/src/modules/infinite-scroll.directive.ts b/src/modules/infinite-scroll.directive.ts index c40c2115..1aa067da 100644 --- a/src/modules/infinite-scroll.directive.ts +++ b/src/modules/infinite-scroll.directive.ts @@ -46,8 +46,8 @@ export class InfiniteScrollDirective } ngOnChanges({ infiniteScrollContainer, infiniteScrollDisabled }: SimpleChanges) { - const containerChanged: boolean = inputPropChanged(infiniteScrollContainer); - const disabledChanged: boolean = inputPropChanged(infiniteScrollDisabled) + const containerChanged = inputPropChanged(infiniteScrollContainer); + const disabledChanged = inputPropChanged(infiniteScrollDisabled) if (containerChanged || disabledChanged) { this.destroyScroller();