diff options
Diffstat (limited to 'js/tests/visual/modal.html')
| -rw-r--r-- | js/tests/visual/modal.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/visual/modal.html b/js/tests/visual/modal.html index ac0a931af..eeb0aa567 100644 --- a/js/tests/visual/modal.html +++ b/js/tests/visual/modal.html @@ -220,12 +220,12 @@ } } - [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')) + Array.prototype.slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')) .forEach(function (popover) { new Popover(popover) }) - var tooltipList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) + var tooltipList = Array.prototype.slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) tooltipList.forEach(function (tooltip) { new Tooltip(tooltip) }) |
