diff --git a/js/src/carousel.js b/js/src/carousel.js index 70c5fd286a..edaec08f2d 100644 --- a/js/src/carousel.js +++ b/js/src/carousel.js @@ -328,6 +328,7 @@ class Carousel extends BaseComponent { if (!activeElement || !nextElement) { // Some weirdness is happening, so we bail + // todo: change tests that use empty divs to avoid this check return }