Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Made toastr fade away on hover-off only if either extendedTimeOut or …

…timeOut are > 0
  • Loading branch information...
commit ceae34319551b6a1358ee08a6b5d5d2c62d739b6 1 parent 3c16794
@johnpapa johnpapa authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  toastr.js
View
2  toastr.js
@@ -108,7 +108,7 @@
}
var delayedFadeAway = function() {
- if (options.extendedTimeOut > 0) {
+ if (options.timeOut > 0 || options.extendedTimeOut > 0) {
intervalId = setTimeout(fadeAway, options.extendedTimeOut)
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.