mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +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
|
||||
@@ -83,7 +82,7 @@ class Alert extends BaseComponent {
|
||||
|
||||
const transitionDuration = getTransitionDurationFromElement(element)
|
||||
|
||||
EventHandler.one(element, TRANSITION_END, () => this._destroyElement(element))
|
||||
EventHandler.one(element, 'transitionend', () => this._destroyElement(element))
|
||||
emulateTransitionEnd(element, transitionDuration)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user