diff options
| author | Jacob Thornton <[email protected]> | 2013-07-24 20:10:16 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2013-07-24 20:10:16 -0700 |
| commit | eaefed517a960893204cade3525bda100454e13f (patch) | |
| tree | 6227f06e1e88cd0321975a43a9b9cc9dbd9e5138 /js/carousel.js | |
| parent | 930c75e5dd0f2ae861a505bda740f289570c9b8a (diff) | |
| download | bootstrap-eaefed517a960893204cade3525bda100454e13f.tar.xz bootstrap-eaefed517a960893204cade3525bda100454e13f.zip | |
fixes #8399 w/ tests
Diffstat (limited to 'js/carousel.js')
| -rw-r--r-- | js/carousel.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/carousel.js b/js/carousel.js index 2e5d97853..e5a83f094 100644 --- a/js/carousel.js +++ b/js/carousel.js @@ -130,7 +130,7 @@ $next[0].offsetWidth // force reflow $active.addClass(direction) $next.addClass(direction) - this.$element.find('.item') + $active .one($.support.transition.end, function () { $next.removeClass([type, direction].join(' ')).addClass('active') $active.removeClass(['active', direction].join(' ')) |
