File tree 1 file changed +2
-6
lines changed 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -370,9 +370,7 @@ export const BCarousel = /*#__PURE__*/ Vue.extend({
370
370
/* istanbul ignore if: transition events cant be tested in JSDOM */
371
371
if ( this . transitionEndEvent ) {
372
372
const events = this . transitionEndEvent . split ( / \s + / )
373
- events . forEach ( evt =>
374
- eventOff ( currentSlide , evt , onceTransEnd , EVENT_OPTIONS_NO_CAPTURE )
375
- )
373
+ events . forEach ( evt => eventOff ( nextSlide , evt , onceTransEnd , EVENT_OPTIONS_NO_CAPTURE ) )
376
374
}
377
375
this . clearAnimationTimeout ( )
378
376
removeClass ( nextSlide , dirClass )
@@ -394,9 +392,7 @@ export const BCarousel = /*#__PURE__*/ Vue.extend({
394
392
/* istanbul ignore if: transition events cant be tested in JSDOM */
395
393
if ( this . transitionEndEvent ) {
396
394
const events = this . transitionEndEvent . split ( / \s + / )
397
- events . forEach ( event =>
398
- eventOn ( currentSlide , event , onceTransEnd , EVENT_OPTIONS_NO_CAPTURE )
399
- )
395
+ events . forEach ( event => eventOn ( nextSlide , event , onceTransEnd , EVENT_OPTIONS_NO_CAPTURE ) )
400
396
}
401
397
// Fallback to setTimeout()
402
398
this . $_animationTimeout = setTimeout ( onceTransEnd , TRANS_DURATION )
You can’t perform that action at this time.
0 commit comments