diff options
author | Johann-S <johann.servoire@gmail.com> | 2019-07-28 16:24:46 +0300 |
---|---|---|
committer | Johann-S <johann.servoire@gmail.com> | 2019-07-29 12:34:12 +0300 |
commit | dcba52677556bedb04a07825c2023e0beeea6f1e (patch) | |
tree | ddf5bbf334408536c609f2ded245e119c1a9de17 /js/tests/visual/toast.html | |
parent | 144220f0c5777e07fb1832324d52a590bec363e2 (diff) |
remove underscore for static methods
Diffstat (limited to 'js/tests/visual/toast.html')
-rw-r--r-- | js/tests/visual/toast.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/visual/toast.html b/js/tests/visual/toast.html index 21ecbac92c..1dd1fe3fbd 100644 --- a/js/tests/visual/toast.html +++ b/js/tests/visual/toast.html @@ -67,7 +67,7 @@ document.getElementById('btnShowToast').addEventListener('click', function () { Array.from(document.querySelectorAll('.toast')) .forEach(function (toastNode) { - var toast = Toast._getInstance(toastNode) + var toast = Toast.getInstance(toastNode) toast.show() }) }) @@ -75,7 +75,7 @@ document.getElementById('btnHideToast').addEventListener('click', function () { Array.from(document.querySelectorAll('.toast')) .forEach(function (toastNode) { - var toast = Toast._getInstance(toastNode) + var toast = Toast.getInstance(toastNode) toast.hide() }) }) |