Commit 82fc03f3 authored by XhmikosR's avatar XhmikosR
Browse files

carousel.js: remove unneeded variable assignment.

`slideIndex` is assigned to the same value a few lines above.
parent 7b0acf14
Showing with 1 addition and 1 deletion
+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)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment