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
1 changed files with 0 additions and 1 deletions

View File

@ -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')