2
0
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:
fat
2014-03-24 19:15:58 -07:00
parent b3f30bb70e
commit 4a2d337bf5
2 changed files with 29 additions and 1 deletions
+1 -1
View File
@@ -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)
}