]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Clear timeout before showing the toast (#31155)
authorRohit Sharma <rohit2sharma95@gmail.com>
Sat, 11 Jul 2020 18:51:04 +0000 (00:21 +0530)
committerGitHub <noreply@github.com>
Sat, 11 Jul 2020 18:51:04 +0000 (11:51 -0700)
commitf6348f6c89dabbbbe7d2edd1c9503256294b86f2
treee9e78905a31863c8cd84d2b8a232afaf272a5a7f
parent6acdfdbfa005197509e7cb60daab7e458dee80b1
Clear timeout before showing the toast (#31155)

* clear timeout before showing the toast

* Add unit test

* Remove the check for timeout

* Check for clearTimeout to have been called

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
js/src/toast.js
js/tests/unit/toast.spec.js