Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-06-03 08:09:13 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-06-03 08:09:13 +0400
commitebc1fe907d5dede1c7251dc1a25b9015a7f779d7 (patch)
treef076919bba3c0b956692d334475f6b5c6a4282cf /js
parent3a751a63d45814cab973cd6d9ca9fddf78a1a842 (diff)
only trigger $.support.transition.end when it exists
Diffstat (limited to 'js')
-rw-r--r--js/bootstrap-carousel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-carousel.js b/js/bootstrap-carousel.js
index de38b4e0cf..e0dadd2136 100644
--- a/js/bootstrap-carousel.js
+++ b/js/bootstrap-carousel.js
@@ -68,7 +68,7 @@
, pause: function (e) {
if (!e) this.paused = true
- if (this.$element.find('.next, .prev')) {
+ if (this.$element.find('.next, .prev') && $.support.transition.end) {
this.$element.trigger($.support.transition.end)
this.cycle()
}