diff options
| author | XhmikosR <[email protected]> | 2020-12-10 16:54:50 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-10 16:54:50 +0200 |
| commit | 1edec546cb28baf68691f0eb9e43997901359ba5 (patch) | |
| tree | 215fa8b9ac5c943e08cef25e5a9234b07b9a4db0 /js/src/carousel.js | |
| parent | 7e47b7ecc972a29997a0e38fd1fc126c51f2f703 (diff) | |
| download | bootstrap-1edec546cb28baf68691f0eb9e43997901359ba5.tar.xz bootstrap-1edec546cb28baf68691f0eb9e43997901359ba5.zip | |
Remove `TRANSITION_END` from utils (#32394)
Diffstat (limited to 'js/src/carousel.js')
| -rw-r--r-- | js/src/carousel.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/src/carousel.js b/js/src/carousel.js index b5923e34a..e1432d924 100644 --- a/js/src/carousel.js +++ b/js/src/carousel.js @@ -7,7 +7,6 @@ import { defineJQueryPlugin, - TRANSITION_END, emulateTransitionEnd, getElementFromSelector, getTransitionDurationFromElement, @@ -480,7 +479,7 @@ class Carousel extends BaseComponent { const transitionDuration = getTransitionDurationFromElement(activeElement) - EventHandler.one(activeElement, TRANSITION_END, () => { + EventHandler.one(activeElement, 'transitionend', () => { nextElement.classList.remove(directionalClassName, orderClassName) nextElement.classList.add(CLASS_NAME_ACTIVE) |
