From e4092876326ac98a7f1e74bc453edf75d0fb1b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sun, 4 Feb 2024 09:55:47 +0100 Subject: [PATCH] admin ui changes --- assets/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/script.js b/assets/script.js index eb27579..92a2871 100644 --- a/assets/script.js +++ b/assets/script.js @@ -52,6 +52,7 @@ function displayList(data, element_id, delete_function=null) { if(typeof delete_function === "function") { const td = document.createElement("td"); let delete_button = document.createElement('button'); + delete_button.textContent = "Delete" delete_button.onclick = function (){ delete_function(line.ID); }