Rewrite some stuff

This commit is contained in:
Bruno Rybársky 2024-04-26 14:56:40 +02:00
parent ec4df02b65
commit b9184a7c04

@ -107,7 +107,7 @@ async function displayList(data, elementId, deleteFunction) {
if ("function" === typeof deleteFunction) {
const th = document.createElement("th");
let deleteBtn = document.createElement('i');
deleteBtn.classList[0] = "ri-delete-bin-line";
deleteBtn.classList = ["ri-delete-bin-line"];
th.appendChild(deleteBtn);
headerRow.appendChild(th);
}