2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

add special transitionend type to test event origin

fixes #13430
This commit is contained in:
fat
2014-06-10 19:56:08 -07:00
parent 9cdbf0e807
commit 7f122be004
7 changed files with 24 additions and 25 deletions
+1 -1
View File
@@ -132,7 +132,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