]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Carousel: add comment for future fixes
authorGeoSot <geo.sotis@gmail.com>
Wed, 9 Mar 2022 23:00:33 +0000 (01:00 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 10 Mar 2022 13:22:14 +0000 (15:22 +0200)
js/src/carousel.js

index 70c5fd286a08f440d6d0597c4ad7123db58b9639..edaec08f2d4c2d4e8844c3509b159d07deb4baad 100644 (file)
@@ -328,6 +328,7 @@ class Carousel extends BaseComponent {
 
     if (!activeElement || !nextElement) {
       // Some weirdness is happening, so we bail
+      // todo: change tests that use empty divs to avoid this check
       return
     }