MEME
This commit is contained in:
parent
20ca96ba05
commit
24f4242523
@ -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 = "<i class='ri-delete-bin-line'></i>";
|
||||
deleteButton.innerHTML = "<i class='ri-delete-bin-line'></i>";
|
||||
deleteButton.onclick = () => deleteFunction(line.ID);
|
||||
td.appendChild(deleteButton);
|
||||
dataRow.appendChild(td);
|
||||
|
Loading…
Reference in New Issue
Block a user