diff --git a/src/lib/toastr/toast-noanimation.component.ts b/src/lib/toastr/toast-noanimation.component.ts index 6d78de0d..8f4a5d1f 100644 --- a/src/lib/toastr/toast-noanimation.component.ts +++ b/src/lib/toastr/toast-noanimation.component.ts @@ -59,7 +59,6 @@ export class ToastNoAnimation implements OnDestroy { if (this.state === 'inactive') { return 'none'; } - return 'inherit'; } /** controls animation */ diff --git a/src/lib/toastr/toast.component.ts b/src/lib/toastr/toast.component.ts index c389df68..e36664e2 100644 --- a/src/lib/toastr/toast.component.ts +++ b/src/lib/toastr/toast.component.ts @@ -80,7 +80,6 @@ export class Toast implements OnDestroy { if (this.state.value === 'inactive') { return 'none'; } - return 'inherit'; } private timeout: any;