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
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@
|
|||
|
||||
Plugin.call($target, options)
|
||||
|
||||
if (slideIndex = $this.attr('data-slide-to')) {
|
||||
if (slideIndex) {
|
||||
$target.data('bs.carousel').to(slideIndex)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue