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:
authorJohann-S <johann.servoire@gmail.com>2018-03-20 13:07:58 +0300
committerJohann-S <johann.servoire@gmail.com>2018-03-20 17:56:51 +0300
commitbedc96e48bebb7a1124a97833794a8047a1e3b95 (patch)
tree0db43f0a301cf836fb9198a4957231a097a90f06 /js/src/alert.js
parent2306f62bf19bb0696a9455aaf2eea6b083d9fdae (diff)
Use transitionEnd in QUnit since we moved away from PhantomJS
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 a072b2e4eb..7719c57bfb 100644
--- a/js/src/alert.js
+++ b/js/src/alert.js
@@ -102,8 +102,7 @@ const Alert = (($) => {
_removeElement(element) {
$(element).removeClass(ClassName.SHOW)
- if (!Util.supportsTransitionEnd() ||
- !$(element).hasClass(ClassName.FADE)) {
+ if (!$(element).hasClass(ClassName.FADE)) {
this._destroyElement(element)
return
}