diff options
| author | Rohit Sharma <[email protected]> | 2020-11-24 01:05:46 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-23 21:35:46 +0200 |
| commit | 7c7f08b5e002d53363be52224fc007190da41fe5 (patch) | |
| tree | bd2b7e2ecd0c7a91dcc143443518f54d4d9bb6a8 /js/tests/integration/bundle.js | |
| parent | 8f8787725ba0c54bcbfb294e9b1f3ef1dca97c16 (diff) | |
| download | bootstrap-7c7f08b5e002d53363be52224fc007190da41fe5.tar.xz bootstrap-7c7f08b5e002d53363be52224fc007190da41fe5.zip | |
Update bundle.js in tests/integration (#32233)
* Use `[].concat` instead of direct spreading nodelist
Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'js/tests/integration/bundle.js')
| -rw-r--r-- | js/tests/integration/bundle.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/integration/bundle.js b/js/tests/integration/bundle.js index 1c6e60bf5..75982f76f 100644 --- a/js/tests/integration/bundle.js +++ b/js/tests/integration/bundle.js @@ -2,6 +2,6 @@ import 'popper.js' import { Tooltip } from '../../../dist/js/bootstrap.esm.js' window.addEventListener('load', () => { - [...document.querySelectorAll('[data-bs-toggle="tooltip"]')] + [].concat(...document.querySelectorAll('[data-bs-toggle="tooltip"]')) .map(tooltipNode => new Tooltip(tooltipNode)) }) |
