Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoSot <geo.sotis@gmail.com>2022-03-10 02:00:33 +0300
committerXhmikosR <xhmikosr@gmail.com>2022-03-10 16:22:14 +0300
commitec0e1c220e2f9b1f4591b4c7f12a622822f14014 (patch)
tree9933b1201cfb686a9bac619887850be5597bb885
parent88da704eedc5149b70dcec7845453456a6e26761 (diff)
Carousel: add comment for future fixes
-rw-r--r--js/src/carousel.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/carousel.js b/js/src/carousel.js
index 70c5fd286a..edaec08f2d 100644
--- a/js/src/carousel.js
+++ b/js/src/carousel.js
@@ -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
}