Skip to content

Commit

Permalink
timeOutValue is only available on divElement
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinhungry committed May 14, 2019
1 parent 35c57bb commit 6805353
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 6805353

Please sign in to comment.