]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Check for data-interval on the first slide of carousel - v4 (#31820)
authorMitchell Bryson <mitchelljbryson@gmail.com>
Thu, 12 Nov 2020 07:34:17 +0000 (07:34 +0000)
committerGitHub <noreply@github.com>
Thu, 12 Nov 2020 07:34:17 +0000 (09:34 +0200)
commit896e444895614538ec7b2dc689ddd051fb97b99e
treea7393cc054b7d7ddb3e18d2c6591b67ed407633c
parent9e9e1e61d57bc2416e322adc546c89d33acb7a73
Check for data-interval on the first slide of carousel - v4 (#31820)

When starting a cycle for a carousel, it only checks for a default interval, and not an interval defined on the slide element via data props. This adds a check in before creating the interval to move to the next slide.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
.bundlewatch.config.json
js/src/carousel.js
js/tests/unit/carousel.js