1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-26 13:29:06 +02:00

fix(carousel): on load page create a carousel

This commit is contained in:
Johann-S
2018-06-17 23:00:49 +02:00
committed by XhmikosR
parent 83cea3bafa
commit 0b726de94e
2 changed files with 2 additions and 2 deletions

View File

@@ -597,7 +597,7 @@ EventHandler
EventHandler.on(window, Event.LOAD_DATA_API, () => {
const carousels = Util.makeArray(SelectorEngine.find(Selector.DATA_RIDE))
for (let i = 0, len = carousels.length; i < len; i++) {
Carousel._carouselInterface.call(carousels[i], Data.getData(carousels[i], DATA_KEY))
Carousel._carouselInterface(carousels[i], Data.getData(carousels[i], DATA_KEY))
}
})