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

Merge pull request #13786 from twbs/fat-13430

add special transitionend type to test event origin
This commit is contained in:
Jacob
2014-06-11 22:44:04 -07:00
7 changed files with 24 additions and 25 deletions

View File

@@ -142,7 +142,7 @@
$active.addClass(direction)
$next.addClass(direction)
$active
.one($.support.transition.end, function () {
.one('bsTransitionEnd', function () {
$next.removeClass([type, direction].join(' ')).addClass('active')
$active.removeClass(['active', direction].join(' '))
that.sliding = false