From 6ef9096cb792e5bd4a0aaebf1391574ead25d267 Mon Sep 17 00:00:00 2001 From: sudoer777 <78781902+sudoer777@users.noreply.github.com> Date: Mon, 22 Nov 2021 19:25:44 -0700 Subject: [PATCH] Remove delete button on manage page --- public/scripts/manage.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/public/scripts/manage.js b/public/scripts/manage.js index 5482569..1f4ff7e 100644 --- a/public/scripts/manage.js +++ b/public/scripts/manage.js @@ -297,12 +297,6 @@ async function listItems(category) { editSpan.appendChild(editButton); manageCell.appendChild(editSpan); - const removeSpan = document.createElement('remove'); - const removeButton = document.createElement('button'); - removeButton.textContent = "D"; - removeSpan.appendChild(removeButton); - manageCell.appendChild(removeSpan); - row.appendChild(manageCell); itemsListTable.appendChild(row);