From: Jacob Thornton Date: Tue, 3 Jan 2012 06:57:04 +0000 (-0800) Subject: actuall use interval option :P X-Git-Tag: v2.0.0~6^2~372^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5661855be3da81f0a46bd99c7522a93f01706289;p=thirdparty%2Fbootstrap.git actuall use interval option :P --- diff --git a/js/bootstrap-carousel.js b/js/bootstrap-carousel.js index 5e37b0f60e..fa5247c97e 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