mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Removed autoselection of radio buttons in wizard
This commit is contained in:
@@ -85,6 +85,14 @@
|
||||
const event = new CustomEvent("signal", { detail: { callback: callback, params: params } });
|
||||
document.dispatchEvent(event);
|
||||
}
|
||||
|
||||
window.addEventListener("click", (ev) => {
|
||||
var buttons = document.querySelectorAll(".button.collapse");
|
||||
for (let button of buttons) {
|
||||
if (button != ev.srcElement)
|
||||
button.classList.remove("open");
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user