diff options
| author | Jacob Thornton <[email protected]> | 2012-06-02 21:09:13 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-06-02 21:09:13 -0700 |
| commit | ebc1fe907d5dede1c7251dc1a25b9015a7f779d7 (patch) | |
| tree | f076919bba3c0b956692d334475f6b5c6a4282cf /js | |
| parent | 3a751a63d45814cab973cd6d9ca9fddf78a1a842 (diff) | |
| download | bootstrap-ebc1fe907d5dede1c7251dc1a25b9015a7f779d7.tar.xz bootstrap-ebc1fe907d5dede1c7251dc1a25b9015a7f779d7.zip | |
only trigger $.support.transition.end when it exists
Diffstat (limited to 'js')
| -rw-r--r-- | js/bootstrap-carousel.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-carousel.js b/js/bootstrap-carousel.js index de38b4e0c..e0dadd213 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() } |
