mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-09 15:16:51 +02:00
carousel bug with data
This commit is contained in:
2
docs/assets/js/bootstrap.js
vendored
2
docs/assets/js/bootstrap.js
vendored
@@ -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()
|
||||||
|
2
docs/assets/js/bootstrap.min.js
vendored
2
docs/assets/js/bootstrap.min.js
vendored
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()
|
||||||
|
Reference in New Issue
Block a user