From 0313acd4c5bef4fce5c01cc6a7e7d6fe27439150 Mon Sep 17 00:00:00 2001 From: Raphael Bernhart Date: Fri, 21 Jan 2022 17:22:30 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20bug=20where=20a=20conditio?= =?UTF-8?q?n=20was=20wrong-false?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HeartbeatBar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/HeartbeatBar.vue b/src/components/HeartbeatBar.vue index 7143e716..d7f352cc 100644 --- a/src/components/HeartbeatBar.vue +++ b/src/components/HeartbeatBar.vue @@ -190,7 +190,7 @@ export default { previous.classList.toggle("active-sibling"); } // Check if Next Sibling is heartbar element and doesn't have the empty class - if (next.children && next.classList.contains("empty")) { + if (next.children && !next.classList.contains("empty")) { next.classList.toggle("active-sibling"); } }