mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-30 15:24:08 +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)
|
||||
|
||||
if (slideIndex = $this.attr('data-slide-to')) {
|
||||
if (slideIndex) {
|
||||
$target.data('bs.carousel').to(slideIndex)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user