forked from Adleraci/adlerka.top
MEME
This commit is contained in:
parent
20ca96ba05
commit
24f4242523
@ -120,7 +120,7 @@ async function displayList(data, elementId, deleteFunction) {
|
|||||||
if ("function" === typeof deleteFunction) {
|
if ("function" === typeof deleteFunction) {
|
||||||
const td = document.createElement("td");
|
const td = document.createElement("td");
|
||||||
const deleteButton = document.createElement('button');
|
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);
|
deleteButton.onclick = () => deleteFunction(line.ID);
|
||||||
td.appendChild(deleteButton);
|
td.appendChild(deleteButton);
|
||||||
dataRow.appendChild(td);
|
dataRow.appendChild(td);
|
||||||
|
Loading…
Reference in New Issue
Block a user