Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-12-10 17:54:50 +0300
committerGitHub <noreply@github.com>2020-12-10 17:54:50 +0300
commit1edec546cb28baf68691f0eb9e43997901359ba5 (patch)
tree215fa8b9ac5c943e08cef25e5a9234b07b9a4db0 /js/src/alert.js
parent7e47b7ecc972a29997a0e38fd1fc126c51f2f703 (diff)
Remove `TRANSITION_END` from utils (#32394)
Diffstat (limited to 'js/src/alert.js')
-rw-r--r--js/src/alert.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/src/alert.js b/js/src/alert.js
index 5a12318820..96eda4c5fa 100644
--- a/js/src/alert.js
+++ b/js/src/alert.js
@@ -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)
}