Commit 5661855b authored by Jacob Thornton's avatar Jacob Thornton

actuall use interval option :P

parent e89618a4
......@@ -34,7 +34,7 @@
Carousel.prototype = {
cycle: function () {
this.interval = setInterval($.proxy(this.next, this), 5000)
this.interval = setInterval($.proxy(this.next, this), this.options.interval)
return this
}
......@@ -100,7 +100,7 @@
}
$.fn.carousel.defaults = {
interval: 5000
interval: 5000
}
$.fn.carousel.Constructor = Carousel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment