mirror of https://github.com/twbs/bootstrap.git
Carousel: remove redundant config merge on `dataApiClickHandler`, as it is done by default in the `constructor`
This commit is contained in:
parent
546e34cf85
commit
ccba6a3589
|
@ -482,7 +482,6 @@ class Carousel extends BaseComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
...Manipulator.getDataAttributes(target),
|
|
||||||
...Manipulator.getDataAttributes(this)
|
...Manipulator.getDataAttributes(this)
|
||||||
}
|
}
|
||||||
const slideIndex = this.getAttribute('data-bs-slide-to')
|
const slideIndex = this.getAttribute('data-bs-slide-to')
|
||||||
|
|
Loading…
Reference in New Issue