Skip to content

Commit

Permalink
feat(core): remove setTimeout, fixes maxOpened not preventing mo… (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimljj authored and scttcper committed Jan 9, 2020
1 parent 3866dc2 commit 3a5d8b4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/toastr/toastr.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,8 @@ export class ToastrService {
};

if (!keepInactive) {
setTimeout(() => {
ins.toastRef.activate();
this.currentlyActive = this.currentlyActive + 1;
});
}

this.toasts.push(ins);
Expand Down

0 comments on commit 3a5d8b4

Please sign in to comment.