aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/bootstrap-carousel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/bootstrap-carousel.js b/js/bootstrap-carousel.js
index 5e37b0f60..fa5247c97 100644
--- a/js/bootstrap-carousel.js
+++ b/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