diff options
author | Johann-S <johann.servoire@gmail.com> | 2019-02-23 01:37:55 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-02-26 14:04:04 +0300 |
commit | 8a37045b798fd66ede9c68774f9bb657e28d956a (patch) | |
tree | 35a1cf1b26701975f9732e99553e53fb295678c7 /js/tests/visual/toast.html | |
parent | 8affe84c722bc459e7152e57d36a4f515f537abf (diff) |
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 a527eab13d..da5236e3e5 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() |