diff options
| author | Johann-S <[email protected]> | 2019-02-23 00:37:55 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-02-26 13:04:04 +0200 |
| commit | 8a37045b798fd66ede9c68774f9bb657e28d956a (patch) | |
| tree | 35a1cf1b26701975f9732e99553e53fb295678c7 /js/tests/visual/toast.html | |
| parent | 8affe84c722bc459e7152e57d36a4f515f537abf (diff) | |
| download | bootstrap-8a37045b798fd66ede9c68774f9bb657e28d956a.tar.xz bootstrap-8a37045b798fd66ede9c68774f9bb657e28d956a.zip | |
move util in a util folder with the sanitizer
Diffstat (limited to 'js/tests/visual/toast.html')
| -rw-r--r-- | js/tests/visual/toast.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tests/visual/toast.html b/js/tests/visual/toast.html index a527eab13..da5236e3e 100644 --- a/js/tests/visual/toast.html +++ b/js/tests/visual/toast.html @@ -60,13 +60,13 @@ <script src="../../dist/toast.js"></script> <script> window.addEventListener('load', function () { - Util.makeArray(document.querySelectorAll('.toast')) + Array.from(document.querySelectorAll('.toast')) .forEach(function (toastNode) { new Toast(toastNode) }) document.getElementById('btnShowToast').addEventListener('click', function () { - Util.makeArray(document.querySelectorAll('.toast')) + Array.from(document.querySelectorAll('.toast')) .forEach(function (toastNode) { var toast = Toast._getInstance(toastNode) toast.show() @@ -74,7 +74,7 @@ }) document.getElementById('btnHideToast').addEventListener('click', function () { - Util.makeArray(document.querySelectorAll('.toast')) + Array.from(document.querySelectorAll('.toast')) .forEach(function (toastNode) { var toast = Toast._getInstance(toastNode) toast.hide() |
