diff options
| author | Johann-S <[email protected]> | 2018-09-18 14:37:40 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-11-13 08:47:32 +0200 |
| commit | 557d5ac74d591b7267053e5fe6db9defcb480895 (patch) | |
| tree | a1a1eb964aacd58c068cdb3d35eee4b47b0addf5 /js/tests/visual/toast.html | |
| parent | 4cac833447c53ec7f140c26260ddf36d78ff298f (diff) | |
| download | bootstrap-557d5ac74d591b7267053e5fe6db9defcb480895.tar.xz bootstrap-557d5ac74d591b7267053e5fe6db9defcb480895.zip | |
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 902194617..d069a163a 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 () { |
