diff options
author | Johann-S <johann.servoire@gmail.com> | 2019-02-13 20:37:52 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-02-20 23:05:45 +0300 |
commit | 764bab29418309454ca81a9bf8e19d4f903c6e21 (patch) | |
tree | 6e36a5079071f0d344c5f1b7a1e64481508897ae /js/tests/visual/modal.html | |
parent | f0c6b24bd78638736155d6e963621ea19dc68046 (diff) |
remove polyfills which override browsers default
Diffstat (limited to 'js/tests/visual/modal.html')
-rw-r--r-- | js/tests/visual/modal.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tests/visual/modal.html b/js/tests/visual/modal.html index b37beeef38..f9d8b3f890 100644 --- a/js/tests/visual/modal.html +++ b/js/tests/visual/modal.html @@ -230,13 +230,13 @@ } } - document.querySelectorAll('[data-toggle="popover"]') + [].slice.call(document.querySelectorAll('[data-toggle="popover"]')) .forEach(function (popover) { new Popover(popover) }) - document.querySelectorAll('[data-toggle="tooltip"]') - .forEach(function (tooltip) { + var tooltipList = [].slice.call(document.querySelectorAll('[data-toggle="tooltip"]')) + tooltipList.forEach(function (tooltip) { new Tooltip(tooltip) }) |