Skip to content

Commit

Permalink
[Modal] modal animate delay
Browse files Browse the repository at this point in the history
  • Loading branch information
greengerong committed Jan 2, 2018
1 parent 3e446e4 commit b7e2266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/exports/modal/modal-window.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class ModalWindowComponent {
setTimeout(() => this.onAnimationDone({ toState: 'in' }));
}
return this.animationDone
.filter(event => event.toState == 'in');
.filter(event => event.toState === 'in');
}

close(): Observable<any> {
Expand All @@ -64,7 +64,7 @@ export class ModalWindowComponent {
setTimeout(() => this.onAnimationDone({ toState: 'void' }));
}
return this.animationDone
.filter(event => event.toState == 'void');
.filter(event => event.toState === 'void');
}

onAnimationStart($event) {
Expand Down

0 comments on commit b7e2266

Please sign in to comment.