0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Carousel: remove redundant config merge on dataApiClickHandler, as it is done by default in the constructor

This commit is contained in:
GeoSot 2021-09-10 02:55:28 +03:00 committed by XhmikosR
parent 546e34cf85
commit ccba6a3589

View File

@ -482,7 +482,6 @@ class Carousel extends BaseComponent {
}
const config = {
...Manipulator.getDataAttributes(target),
...Manipulator.getDataAttributes(this)
}
const slideIndex = this.getAttribute('data-bs-slide-to')