service boxes open on click, not just arrow

This commit is contained in:
luptmoor
2026-03-03 14:51:52 +01:00
parent 04bbe0c618
commit 30abb9336c
2 changed files with 8 additions and 8 deletions

View File

@@ -99,7 +99,7 @@ function initServices() {
let closeTimeout;
arrow.addEventListener("click", () => {
box.addEventListener("click", () => {
boxes.forEach(b => {
if (b !== box) b.classList.remove("open");
if (b.closeTimeout) clearTimeout(b.closeTimeout);