mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-11 08:04:59 +02:00
actuall use interval option :P
This commit is contained in:
2
js/bootstrap-carousel.js
vendored
2
js/bootstrap-carousel.js
vendored
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user