Commit b5095d3e authored by Mark Otto's avatar Mark Otto

Merge pull request #8046 from burnsra/3.0.0-wip-carousel

Fix for carousel indicators
parents b62fa23d cc684750
...@@ -442,7 +442,7 @@ ...@@ -442,7 +442,7 @@
$target.carousel(options) $target.carousel(options)
if (slideIndex = $this.attr('data-slide-to')) { if (slideIndex = $this.attr('data-slide-to')) {
$target.data('bs-carousel').pause().to(slideIndex).cycle() $target.data('bs.carousel').pause().to(slideIndex).cycle()
} }
e.preventDefault() e.preventDefault()
......
This diff is collapsed.
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,7 @@
$target.carousel(options) $target.carousel(options)
if (slideIndex = $this.attr('data-slide-to')) { if (slideIndex = $this.attr('data-slide-to')) {
$target.data('bs-carousel').pause().to(slideIndex).cycle() $target.data('bs.carousel').pause().to(slideIndex).cycle()
} }
e.preventDefault() e.preventDefault()
......
Markdown is supported
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