Major overhaul and options inclusion

This commit is contained in:
2026-03-08 08:51:52 -04:00
parent 2cd36ca2b3
commit c44db8cd3c
10 changed files with 920 additions and 125 deletions

View File

@@ -211,4 +211,19 @@
});
}
// ═══════════════════════════════════════════════════════════════════
// 8. FAQ EXCLUSIVE ACCORDION
// ═══════════════════════════════════════════════════════════════════
$$("details[data-faq-exclusive]").forEach(function (detail) {
detail.addEventListener("toggle", function () {
if (detail.open) {
$$("details[data-faq-exclusive]").forEach(function (other) {
if (other !== detail && other.open) {
other.removeAttribute("open");
}
});
}
});
});
})();