diff options
| author | Johann-S <[email protected]> | 2020-03-09 14:34:07 +0100 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-03-18 20:59:27 +0200 |
| commit | 47aef7b2c6f4570443a16f8db302586a7ce548af (patch) | |
| tree | 2e289488b092fcd797fe2e4c867bc806a6f7abb2 /js/src/util | |
| parent | bc3f82863bbf808c80083860ed40a88e4969b4ca (diff) | |
| download | bootstrap-47aef7b2c6f4570443a16f8db302586a7ce548af.tar.xz bootstrap-47aef7b2c6f4570443a16f8db302586a7ce548af.zip | |
Remove IE compatibility JS code
Diffstat (limited to 'js/src/util')
| -rw-r--r-- | js/src/util/index.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/js/src/util/index.js b/js/src/util/index.js index fca2a9197..001201b4b 100644 --- a/js/src/util/index.js +++ b/js/src/util/index.js @@ -87,10 +87,7 @@ const getTransitionDurationFromElement = element => { } const triggerTransitionEnd = element => { - const evt = document.createEvent('HTMLEvents') - - evt.initEvent(TRANSITION_END, true, true) - element.dispatchEvent(evt) + element.dispatchEvent(new Event(TRANSITION_END)) } const isElement = obj => (obj[0] || obj).nodeType |
