1
0
Fork 0

rep: fix interface.html typo

master
Rob Pilling 2023-07-12 21:46:01 +01:00
parent e408fb9879
commit 784c7b203a
1 changed files with 2 additions and 2 deletions

View File

@ -59,8 +59,8 @@ function renderRep(rep) {
}
buttonDelete.appendChild(iconDelete);
buttonDelete.onclick = (e => {
reps = reps.filter(a => a !== alarm);
document.getElementById("events").removeChild(tr);
reps = reps.filter(a => a !== rep);
document.getElementById("repsTable").removeChild(tr);
});
}
tdInfo.appendChild(buttonDelete);