mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Merge pull request #12258 from ibash/master
Fixing js error in IE9 where no transition is supported
This commit is contained in:
commit
190ae7bb31
@ -68,7 +68,7 @@
|
|||||||
Carousel.prototype.pause = function (e) {
|
Carousel.prototype.pause = function (e) {
|
||||||
e || (this.paused = true)
|
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.$element.trigger($.support.transition.end)
|
||||||
this.cycle(true)
|
this.cycle(true)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user