mirror of https://github.com/twbs/bootstrap.git
actuall use interval option :P
This commit is contained in:
parent
e89618a47f
commit
5661855be3
|
@ -34,7 +34,7 @@
|
||||||
Carousel.prototype = {
|
Carousel.prototype = {
|
||||||
|
|
||||||
cycle: function () {
|
cycle: function () {
|
||||||
this.interval = setInterval($.proxy(this.next, this), 5000)
|
this.interval = setInterval($.proxy(this.next, this), this.options.interval)
|
||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue