mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-18 11:34:12 -08:00
🐛 Fix bug where a condition was wrong-false
This commit is contained in:
parent
cd19b9fc49
commit
0313acd4c5
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue