mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
Remove TRANSITION_END from utils (#32394)
This commit is contained in:
+1
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user