aboutsummaryrefslogtreecommitdiff
path: root/js/carousel.js
diff options
context:
space:
mode:
authorfat <[email protected]>2014-06-10 19:56:08 -0700
committerfat <[email protected]>2014-06-10 20:42:19 -0700
commit7f122be0041ff2d4314a196d53d32dc5f295ed02 (patch)
tree2723e3f32ad56df27b49285a577d4c9639c17b5a /js/carousel.js
parent9cdbf0e80702b9a6a772a2d4a81d8d94dbe1c0eb (diff)
downloadbootstrap-7f122be0041ff2d4314a196d53d32dc5f295ed02.tar.xz
bootstrap-7f122be0041ff2d4314a196d53d32dc5f295ed02.zip
add special transitionend type to test event origin
fixes #13430
Diffstat (limited to 'js/carousel.js')
-rw-r--r--js/carousel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/carousel.js b/js/carousel.js
index af51cf50d..dcaccf8d7 100644
--- a/js/carousel.js
+++ b/js/carousel.js
@@ -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