diff --git a/toastr.js b/toastr.js index 1f804394..2a4fbc14 100644 --- a/toastr.js +++ b/toastr.js @@ -132,7 +132,7 @@ var force = clearOptions && clearOptions.force ? clearOptions.force : false; if ($toastElement && (force || $(':focus', $toastElement).length === 0)) { $toastElement[options.hideMethod]({ - duration: options.hideDuration, + duration: force ? 0 : options.hideDuration, easing: options.hideEasing, complete: function () { removeToast($toastElement); } });