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

actuall use interval option :P

parent e89618a4
Showing with 2 additions and 2 deletions
+2 -2
...@@ -34,7 +34,7 @@ ...@@ -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
} }
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
} }
$.fn.carousel.defaults = { $.fn.carousel.defaults = {
interval: 5000 interval: 5000
} }
$.fn.carousel.Constructor = Carousel $.fn.carousel.Constructor = Carousel
......
Supports Markdown
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