We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a814249 commit b7cce49Copy full SHA for b7cce49
js/src/carousel.js
@@ -56,8 +56,8 @@ const CLASS_NAME_NEXT = 'carousel-item-next'
56
const CLASS_NAME_PREV = 'carousel-item-prev'
57
58
const SELECTOR_ACTIVE = '.active'
59
-const SELECTOR_ACTIVE_ITEM = '.active.carousel-item'
60
const SELECTOR_ITEM = '.carousel-item'
+const SELECTOR_ACTIVE_ITEM = SELECTOR_ACTIVE + SELECTOR_ITEM
61
const SELECTOR_ITEM_IMG = '.carousel-item img'
62
const SELECTOR_NEXT_PREV = '.carousel-item-next, .carousel-item-prev'
63
const SELECTOR_INDICATORS = '.carousel-indicators'
0 commit comments