Notification buttons not working
I am trying to toggle email notifications, but when i click on one of them, it toggles the switch for normal notifications instead. how do i fix it?
Californ1a tycker om detta
This happens because the switches have the same id, here is javascript to run in the console that changes their ids and fixes this bug
document.querySelectorAll("td.email").forEach(emailCell => { const input = emailCell.querySelector("input") input.id += "email" emailCell.querySelector("label").setAttribute("for", input.id) })
Oh_my_gourdness och Akselmo gillar detta