mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-07 04:54:24 +01:00
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…
x
Reference in New Issue
Block a user