mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
Carousel: remove redundant config merge on dataApiClickHandler
, as it is done by default in the constructor
This commit is contained in:
@@ -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')
|
||||||
|
Reference in New Issue
Block a user