function handlemenugroup (ev) {
const nodes = document.querySelectorAll('.menugroup');
nodes.forEach(function(node) {
if (node !== ev.target) {
node.checked = false;
}
})
}
document.addEventListener("DOMContentLoaded", () => { br const nodes = document.querySelectorAll('.menugroup'); nodes.forEach(function(node) { br node.addEventListener('change', handlemenugroup) }) });