]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Carousel: cleanup jQueryInterface
authorGeoSot <geo.sotis@gmail.com>
Tue, 1 Mar 2022 22:57:28 +0000 (00:57 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 9 Mar 2022 15:25:47 +0000 (17:25 +0200)
commite77ae50311366b07225d15b19e330a3871123437
treebef55c537ae3a161df144a71975fa093a9a68b07
parent21fa2cfc122938ba34fcf94770fe2d6d2dfd7842
Carousel: cleanup jQueryInterface

Drop chained else ifs and unused variable.

Since we were checking for `typeof config === 'string'` in both places, action was never `_config.slide`.
js/src/carousel.js