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:
parent
7b0acf14d8
commit
82fc03f3b6
@ -194,7 +194,7 @@
|
||||
|
||||
Plugin.call($target, options)
|
||||
|
||||
if (slideIndex = $this.attr('data-slide-to')) {
|
||||
if (slideIndex) {
|
||||
$target.data('bs.carousel').to(slideIndex)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user