mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
fixes #9461 - Make carousel ignore non-items in carousel-inner
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@
|
||||
|
||||
Carousel.prototype.getActiveIndex = function () {
|
||||
this.$active = this.$element.find('.item.active')
|
||||
this.$items = this.$active.parent().children()
|
||||
this.$items = this.$active.parent().children('.item')
|
||||
|
||||
return this.$items.index(this.$active)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user