diff options
| author | XhmikosR <[email protected]> | 2014-05-22 09:48:17 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2014-06-06 01:23:07 +0300 |
| commit | 82fc03f3b6caccd134827a83c346456b920f4ba8 (patch) | |
| tree | 114df6f08af865a39b27a73dfafb078603f2ef5e | |
| parent | 7b0acf14d8a7c7c6089035a848cba540ed963f36 (diff) | |
| download | bootstrap-82fc03f3b6caccd134827a83c346456b920f4ba8.tar.xz bootstrap-82fc03f3b6caccd134827a83c346456b920f4ba8.zip | |
carousel.js: remove unneeded variable assignment.
`slideIndex` is assigned to the same value a few lines above.
| -rw-r--r-- | js/carousel.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/carousel.js b/js/carousel.js index 56aa8eb91..bda09543f 100644 --- a/js/carousel.js +++ b/js/carousel.js @@ -194,7 +194,7 @@ Plugin.call($target, options) - if (slideIndex = $this.attr('data-slide-to')) { + if (slideIndex) { $target.data('bs.carousel').to(slideIndex) } |
