Commit b239542a authored by fat's avatar fat
Browse files

carousel bug with data

parent f37b3512
Showing with 4 additions and 4 deletions
+4 -4
......@@ -442,7 +442,7 @@
$target.carousel(options)
if (slideIndex = $this.attr('data-slide-to')) {
$target.data('carousel').pause().to(slideIndex).cycle()
$target.data('bs-carousel').pause().to(slideIndex).cycle()
}
e.preventDefault()
......
This diff is collapsed.
......@@ -194,7 +194,7 @@
$target.carousel(options)
if (slideIndex = $this.attr('data-slide-to')) {
$target.data('carousel').pause().to(slideIndex).cycle()
$target.data('bs-carousel').pause().to(slideIndex).cycle()
}
e.preventDefault()
......
......@@ -194,7 +194,7 @@
$target.carousel(options)
if (slideIndex = $this.attr('data-slide-to')) {
$target.data('carousel').pause().to(slideIndex).cycle()
$target.data('bs-carousel').pause().to(slideIndex).cycle()
}
e.preventDefault()
......
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