Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit 3a5d8b4

Browse files
kimljjscttcper
authored andcommitted
feat(core): remove setTimeout, fixes maxOpened not preventing mo… (#743)
1 parent 3866dc2 commit 3a5d8b4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib/toastr/toastr.service.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,8 @@ export class ToastrService {
296296
};
297297

298298
if (!keepInactive) {
299-
setTimeout(() => {
300299
ins.toastRef.activate();
301300
this.currentlyActive = this.currentlyActive + 1;
302-
});
303301
}
304302

305303
this.toasts.push(ins);

0 commit comments

Comments
 (0)