1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 05:58:25 +01:00

Merge pull request #12258 from ibash/master

Fixing js error in IE9 where no transition is supported
This commit is contained in:
Chris Rebert 2014-01-16 10:18:52 -08:00
commit 190ae7bb31

View File

@ -68,7 +68,7 @@
Carousel.prototype.pause = function (e) {
e || (this.paused = true)
if (this.$element.find('.next, .prev').length && $.support.transition.end) {
if (this.$element.find('.next, .prev').length && $.support.transition) {
this.$element.trigger($.support.transition.end)
this.cycle(true)
}