diff options
author | Barryvdh <barryvdh@gmail.com> | 2012-06-08 17:19:08 +0400 |
---|---|---|
committer | Barryvdh <barryvdh@gmail.com> | 2012-06-08 17:19:08 +0400 |
commit | c028e333586c7ecdbc4cec6ca88ea99b26a11358 (patch) | |
tree | 540efdf212ecf59da6ee13c9d914df6afcfec8a8 /js/bootstrap-carousel.js | |
parent | 269ce715f1a722a10d0a4a9229bcca8da3aa682a (diff) |
Scope finding the .active to .item
Diffstat (limited to 'js/bootstrap-carousel.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' |