diff options
author | Johann-S <johann.servoire@gmail.com> | 2018-09-18 15:37:40 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-11-13 09:47:32 +0300 |
commit | 557d5ac74d591b7267053e5fe6db9defcb480895 (patch) | |
tree | a1a1eb964aacd58c068cdb3d35eee4b47b0addf5 /js/tests/visual/toast.html | |
parent | 4cac833447c53ec7f140c26260ddf36d78ff298f (diff) |
Remove the show delay for our toast plugin
Diffstat (limited to 'js/tests/visual/toast.html')
-rw-r--r-- | js/tests/visual/toast.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/js/tests/visual/toast.html b/js/tests/visual/toast.html index 902194617b..d069a163a7 100644 --- a/js/tests/visual/toast.html +++ b/js/tests/visual/toast.html @@ -26,7 +26,7 @@ </div> <div class="notifications"> - <div id="toastAutoHide" class="toast" role="alert" aria-live="assertive" aria-atomic="true"> + <div id="toastAutoHide" class="toast" role="alert" aria-live="assertive" aria-atomic="true" data-delay="2000"> <div class="toast-header"> <img class="rounded mr-2" data-src="holder.js/20x20?size=1&text=.&bg=#007aff" alt=""> <strong class="mr-auto">Bootstrap</strong> @@ -60,10 +60,6 @@ <script src="../../dist/toast.js"></script> <script> $(function () { - $('#toastAutoHide').attr('data-delay', JSON.stringify({ - show: 0, - hide: 2000 - })) $('.toast').toast() $('#btnShowToast').on('click', function () { |