Skip to content

Commit

Permalink
removed unnecessary typing
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-smith committed Nov 19, 2017
1 parent c6856ec commit 61660e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/infinite-scroll.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 61660e8

Please sign in to comment.