From 24f4242523996a6a484ffaab4095d3c8f31c6aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Fri, 26 Apr 2024 01:19:00 +0200 Subject: [PATCH] MEME --- assets/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);