mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Carousel: Use the transition duration from CSS
This makes it possible to change the transition duration in CSS
This commit is contained in:
parent
463343af63
commit
268f20e84c
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@
|
|||
that.sliding = false
|
||||
setTimeout(function () { that.$element.trigger('slid') }, 0)
|
||||
})
|
||||
.emulateTransitionEnd(600)
|
||||
.emulateTransitionEnd($active.css('transition-duration').slice(0, -1) * 1000)
|
||||
} else {
|
||||
this.$element.trigger(e)
|
||||
if (e.isDefaultPrevented()) return
|
||||
|
|
Loading…
Add table
Reference in a new issue