mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-14 01:24:19 +02:00
carousel.js: remove unneeded variable assignment.
`slideIndex` is assigned to the same value a few lines above.
This commit is contained in:
@@ -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