From 12037732b1a8b2773a0f324527badde794eee5e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Fri, 26 Apr 2024 01:21:44 +0200 Subject: [PATCH] MEME --- assets/script.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/script.js b/assets/script.js index 1eb2e03..5c336c2 100644 --- a/assets/script.js +++ b/assets/script.js @@ -106,7 +106,9 @@ async function displayList(data, elementId, deleteFunction) { if ("function" === typeof deleteFunction) { const th = document.createElement("th"); - th.appendChild(document.createElement('')); + let deleteBtn = document.createElement('i'); + deleteBtn.classList = "ri-delete-bin-line"; + th.appendChild(deleteBtn); headerRow.appendChild(th); }