Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

actuall use interval option :P

  • Loading branch information...
commit 5661855be3da81f0a46bd99c7522a93f01706289 1 parent e89618a
@fat fat authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/bootstrap-carousel.js
View
4 js/bootstrap-carousel.js
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.