carousel bug with data
This commit is contained in:
parent
f37b351288
commit
b239542a5e
|
@ -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('carousel').pause().to(slideIndex).cycle()
|
$target.data('bs-carousel').pause().to(slideIndex).cycle()
|
||||||
}
|
}
|
||||||
|
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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('carousel').pause().to(slideIndex).cycle()
|
$target.data('bs-carousel').pause().to(slideIndex).cycle()
|
||||||
}
|
}
|
||||||
|
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
|
|
@ -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('carousel').pause().to(slideIndex).cycle()
|
$target.data('bs-carousel').pause().to(slideIndex).cycle()
|
||||||
}
|
}
|
||||||
|
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
|
Loading…
Reference in New Issue