mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Fix for carousel indicators
This commit is contained in:
parent
a4c1248ca0
commit
cc684750e5
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('bs-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('bs-carousel').pause().to(slideIndex).cycle()
|
$target.data('bs.carousel').pause().to(slideIndex).cycle()
|
||||||
}
|
}
|
||||||
|
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user