Commit ce013440 authored by Mark Otto's avatar Mark Otto
Browse files

grunt

parent 39fec66f
5 merge requests!28721Hot test,!16605Test pull please ignore,!22103test,!25326Adjust examples,!13173fixes #9461 - Make carousel ignore non-items in carousel-inner
Showing with 5 additions and 5 deletions
+5 -5
......@@ -302,7 +302,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
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)
}
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment