mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-05 13:50:58 +00:00
Merge pull request #11416 from danielboendergaard/carousel-duration
Carousel: Use the transition duration from CSS
This commit is contained in:
commit
b9ca65ebe7
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@
|
|||
that.sliding = false
|
||||
setTimeout(function () { that.$element.trigger('slid.bs.carousel') }, 0)
|
||||
})
|
||||
.emulateTransitionEnd(600)
|
||||
.emulateTransitionEnd($active.css('transition-duration').slice(0, -1) * 1000)
|
||||
} else {
|
||||
this.$element.trigger(e)
|
||||
if (e.isDefaultPrevented()) return
|
||||
|
|
|
|||
Loading…
Reference in a new issue