Skip to content

Commit

Permalink
Merge pull request #24 from gavinhungry/divelement
Browse files Browse the repository at this point in the history
timeOutValue is only available on divElement
  • Loading branch information
apvarun authored May 27, 2019
2 parents 35c57bb + 6805353 commit 142057d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/toastify.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
divElement.addEventListener(
"mouseover",
function(event) {
window.clearTimeout(event.target.timeOutValue);
window.clearTimeout(divElement.timeOutValue);
}
)
// add back the timeout
Expand Down

0 comments on commit 142057d

Please sign in to comment.