rep: fix interface.html typo
parent
e408fb9879
commit
784c7b203a
|
|
@ -59,8 +59,8 @@ function renderRep(rep) {
|
||||||
}
|
}
|
||||||
buttonDelete.appendChild(iconDelete);
|
buttonDelete.appendChild(iconDelete);
|
||||||
buttonDelete.onclick = (e => {
|
buttonDelete.onclick = (e => {
|
||||||
reps = reps.filter(a => a !== alarm);
|
reps = reps.filter(a => a !== rep);
|
||||||
document.getElementById("events").removeChild(tr);
|
document.getElementById("repsTable").removeChild(tr);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
tdInfo.appendChild(buttonDelete);
|
tdInfo.appendChild(buttonDelete);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue