diff options
Diffstat (limited to 'js/src/carousel.js')
-rw-r--r-- | js/src/carousel.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/js/src/carousel.js b/js/src/carousel.js index 54bb0791c9..0c192cd7d1 100644 --- a/js/src/carousel.js +++ b/js/src/carousel.js @@ -142,8 +142,7 @@ const Carousel = (($) => { this._isPaused = true } - if ($(this._element).find(Selector.NEXT_PREV)[0] && - Util.supportsTransitionEnd()) { + if ($(this._element).find(Selector.NEXT_PREV)[0]) { Util.triggerTransitionEnd(this._element) this.cycle(true) } @@ -376,8 +375,7 @@ const Carousel = (($) => { to: nextElementIndex }) - if (Util.supportsTransitionEnd() && - $(this._element).hasClass(ClassName.SLIDE)) { + if ($(this._element).hasClass(ClassName.SLIDE)) { $(nextElement).addClass(orderClassName) Util.reflow(nextElement) |