From 82fc03f3b6caccd134827a83c346456b920f4ba8 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 22 May 2014 09:48:17 +0300 Subject: [PATCH] carousel.js: remove unneeded variable assignment. `slideIndex` is assigned to the same value a few lines above. --- js/carousel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/carousel.js b/js/carousel.js index 56aa8eb917..bda09543fa 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) } -- 2.47.2