2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03: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
+1 -1
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