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/tab.js | |
| parent | 7e47b7ecc972a29997a0e38fd1fc126c51f2f703 (diff) | |
| download | bootstrap-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.js | 3 |
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() |
