diff options
| author | Barryvdh <[email protected]> | 2012-06-08 16:19:08 +0300 |
|---|---|---|
| committer | Barryvdh <[email protected]> | 2012-06-08 16:19:08 +0300 |
| commit | c028e333586c7ecdbc4cec6ca88ea99b26a11358 (patch) | |
| tree | 540efdf212ecf59da6ee13c9d914df6afcfec8a8 /js/bootstrap-carousel.js | |
| parent | 269ce715f1a722a10d0a4a9229bcca8da3aa682a (diff) | |
| download | bootstrap-c028e333586c7ecdbc4cec6ca88ea99b26a11358.tar.xz bootstrap-c028e333586c7ecdbc4cec6ca88ea99b26a11358.zip | |
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 f8f3c6451..3fda7c666 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' |
