aboutsummaryrefslogtreecommitdiff
path: root/js/src/tab.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-12-10 16:54:50 +0200
committerGitHub <[email protected]>2020-12-10 16:54:50 +0200
commit1edec546cb28baf68691f0eb9e43997901359ba5 (patch)
tree215fa8b9ac5c943e08cef25e5a9234b07b9a4db0 /js/src/tab.js
parent7e47b7ecc972a29997a0e38fd1fc126c51f2f703 (diff)
downloadbootstrap-1edec546cb28baf68691f0eb9e43997901359ba5.tar.xz
bootstrap-1edec546cb28baf68691f0eb9e43997901359ba5.zip
Remove `TRANSITION_END` from utils (#32394)
Diffstat (limited to 'js/src/tab.js')
-rw-r--r--js/src/tab.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/src/tab.js b/js/src/tab.js
index 3a48986c4..c882ecd16 100644
--- a/js/src/tab.js
+++ b/js/src/tab.js
@@ -7,7 +7,6 @@
import {
defineJQueryPlugin,
- TRANSITION_END,
emulateTransitionEnd,
getElementFromSelector,
getTransitionDurationFromElement,
@@ -132,7 +131,7 @@ class Tab extends BaseComponent {
const transitionDuration = getTransitionDurationFromElement(active)
active.classList.remove(CLASS_NAME_SHOW)
- EventHandler.one(active, TRANSITION_END, complete)
+ EventHandler.one(active, 'transitionend', complete)
emulateTransitionEnd(active, transitionDuration)
} else {
complete()