diff --git a/assets/script.js b/assets/script.js index f132107..9ae66ca 100644 --- a/assets/script.js +++ b/assets/script.js @@ -120,7 +120,7 @@ async function displayList(data, elementId, deleteFunction) { if ("function" === typeof deleteFunction) { const td = document.createElement("td"); const deleteButton = document.createElement('button'); - deleteButton.textContent = ""; + deleteButton.innerHTML = ""; deleteButton.onclick = () => deleteFunction(line.ID); td.appendChild(deleteButton); dataRow.appendChild(td);