mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
carousel.js: remove unneeded variable assignment.
`slideIndex` is assigned to the same value a few lines above.
This commit is contained in:
+1
-1
@@ -194,7 +194,7 @@
|
|||||||
|
|
||||||
Plugin.call($target, options)
|
Plugin.call($target, options)
|
||||||
|
|
||||||
if (slideIndex = $this.attr('data-slide-to')) {
|
if (slideIndex) {
|
||||||
$target.data('bs.carousel').to(slideIndex)
|
$target.data('bs.carousel').to(slideIndex)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user