From eaefed517a960893204cade3525bda100454e13f Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Wed, 24 Jul 2013 20:10:16 -0700 Subject: fixes #8399 w/ tests --- js/carousel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/carousel.js') 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(' ')) -- cgit v1.2.3