diff options
| author | Mark Otto <[email protected]> | 2012-12-20 13:41:08 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-12-20 13:41:08 -0800 |
| commit | b6575cc72e144378dd2c1d4e6f23ac80a167c195 (patch) | |
| tree | 8c7b5a288453d8f706b6e27f1de24594deda89bc /docs/assets/js/bootstrap-carousel.js | |
| parent | 30d8eb3ed572f2a91c0d4de1326779dec88cd911 (diff) | |
| download | bootstrap-b6575cc72e144378dd2c1d4e6f23ac80a167c195.tar.xz bootstrap-b6575cc72e144378dd2c1d4e6f23ac80a167c195.zip | |
fix up code snippet
Diffstat (limited to 'docs/assets/js/bootstrap-carousel.js')
| -rw-r--r-- | docs/assets/js/bootstrap-carousel.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assets/js/bootstrap-carousel.js b/docs/assets/js/bootstrap-carousel.js index 6a1b21f37..4838a1684 100644 --- a/docs/assets/js/bootstrap-carousel.js +++ b/docs/assets/js/bootstrap-carousel.js @@ -164,7 +164,7 @@ if (!data) $this.data('carousel', (data = new Carousel(this, options))) if (typeof option == 'number') data.to(option) else if (action) data[action]() - else if (options.interval) data.cycle() + else if (options.interval) data.pause().cycle() }) } |
