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/collapse.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/collapse.js')
| -rw-r--r-- | js/src/collapse.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/js/src/collapse.js b/js/src/collapse.js index ee357e37a..58033566b 100644 --- a/js/src/collapse.js +++ b/js/src/collapse.js @@ -182,11 +182,6 @@ const Collapse = (($) => { $(this._element).trigger(Event.SHOWN) } - if (!Util.supportsTransitionEnd()) { - complete() - return - } - const capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1) const scrollSize = `scroll${capitalizedDimension}` const transitionDuration = Util.getTransitionDurationFromElement(this._element) @@ -246,12 +241,6 @@ const Collapse = (($) => { } this._element.style[dimension] = '' - - if (!Util.supportsTransitionEnd()) { - complete() - return - } - const transitionDuration = Util.getTransitionDurationFromElement(this._element) $(this._element) |
