diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-06-20 21:58:20 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-06-20 21:58:20 +0400 |
commit | eb62c977cd78d85b82900267268e13f2314a176b (patch) | |
tree | d69a59666a8dd3f5c8c5a40a0d7ca2aed886c491 /js | |
parent | b2b000b7502901e53cf499e68d8dd5bf522d3d4f (diff) | |
parent | c028e333586c7ecdbc4cec6ca88ea99b26a11358 (diff) |
Merge pull request #3770 from Barryvdh/2.1.0-wip
Scope carousel .active to .item
Diffstat (limited to 'js')
-rw-r--r-- | js/bootstrap-carousel.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-carousel.js b/js/bootstrap-carousel.js index f8f3c64515..3fda7c6660 100644 --- a/js/bootstrap-carousel.js +++ b/js/bootstrap-carousel.js @@ -88,7 +88,7 @@ } , slide: function (type, next) { - var $active = this.$element.find('.active') + var $active = this.$element.find('.item.active') , $next = next || $active[type]() , isCycling = this.interval , direction = type == 'next' ? 'left' : 'right' |