diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-06-03 08:09:13 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-06-03 08:09:13 +0400 |
commit | ebc1fe907d5dede1c7251dc1a25b9015a7f779d7 (patch) | |
tree | f076919bba3c0b956692d334475f6b5c6a4282cf /docs/assets/js/bootstrap-carousel.js | |
parent | 3a751a63d45814cab973cd6d9ca9fddf78a1a842 (diff) |
only trigger $.support.transition.end when it exists
Diffstat (limited to 'docs/assets/js/bootstrap-carousel.js')
-rw-r--r-- | docs/assets/js/bootstrap-carousel.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assets/js/bootstrap-carousel.js b/docs/assets/js/bootstrap-carousel.js index de38b4e0cf..e0dadd2136 100644 --- a/docs/assets/js/bootstrap-carousel.js +++ b/docs/assets/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() } |