1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 21:09:06 +02:00

fixes #8399 w/ tests

This commit is contained in:
Jacob Thornton
2013-07-24 20:10:16 -07:00
parent 930c75e5dd
commit eaefed517a
5 changed files with 52 additions and 7 deletions

View File

@@ -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(' '))