0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

carousel.js: remove unneeded variable assignment.

`slideIndex` is assigned to the same value a few lines above.
This commit is contained in:
XhmikosR 2014-05-22 09:48:17 +03:00
parent 7b0acf14d8
commit 82fc03f3b6

View File

@ -194,7 +194,7 @@
Plugin.call($target, options)
if (slideIndex = $this.attr('data-slide-to')) {
if (slideIndex) {
$target.data('bs.carousel').to(slideIndex)
}