diff options
| author | Jacob Thornton <[email protected]> | 2012-01-02 22:57:04 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-01-02 22:57:04 -0800 |
| commit | 5661855be3da81f0a46bd99c7522a93f01706289 (patch) | |
| tree | 68b4a7416e2d317be7aa5f94928554703c8bfd84 | |
| parent | e89618a47f768eddf47164f89176e172b5c2972d (diff) | |
| download | bootstrap-5661855be3da81f0a46bd99c7522a93f01706289.tar.xz bootstrap-5661855be3da81f0a46bd99c7522a93f01706289.zip | |
actuall use interval option :P
| -rw-r--r-- | js/bootstrap-carousel.js | 4 |
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 |
