diff options
| author | Johann-S <[email protected]> | 2018-03-20 11:07:58 +0100 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2018-03-20 15:56:51 +0100 |
| commit | bedc96e48bebb7a1124a97833794a8047a1e3b95 (patch) | |
| tree | 0db43f0a301cf836fb9198a4957231a097a90f06 /js/src/alert.js | |
| parent | 2306f62bf19bb0696a9455aaf2eea6b083d9fdae (diff) | |
| download | bootstrap-bedc96e48bebb7a1124a97833794a8047a1e3b95.tar.xz bootstrap-bedc96e48bebb7a1124a97833794a8047a1e3b95.zip | |
Use transitionEnd in QUnit since we moved away from PhantomJS
Diffstat (limited to 'js/src/alert.js')
| -rw-r--r-- | js/src/alert.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/src/alert.js b/js/src/alert.js index a072b2e4e..7719c57bf 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 } |
