1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-16 02:24:19 +02:00

fix carousel when hiding a reshowing - make sure it always triggers transition end #3248

This commit is contained in:
Jacob Thornton
2012-06-02 20:28:08 -07:00
parent 0b827965d3
commit 555a3b0478
5 changed files with 19 additions and 3 deletions

View File

@@ -68,6 +68,10 @@
, pause: function (e) {
if (!e) this.paused = true
if (this.$element.find('.next, .prev')) {
this.$element.trigger($.support.transition.end)
this.cycle()
}
clearInterval(this.interval)
this.interval = null
return this