2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03: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
+4
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