mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-30 18:24:03 +00:00
🐛 Fix bug where a condition was wrong-false
This commit is contained in:
parent
cd19b9fc49
commit
0313acd4c5
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ export default {
|
||||||
previous.classList.toggle("active-sibling");
|
previous.classList.toggle("active-sibling");
|
||||||
}
|
}
|
||||||
// Check if Next Sibling is heartbar element and doesn't have the empty class
|
// 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");
|
next.classList.toggle("active-sibling");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue