fixing delete button
This commit is contained in:
@@ -199,6 +199,8 @@
|
|||||||
modal.style.display = 'none';
|
modal.style.display = 'none';
|
||||||
confirmBtn.onclick = null;
|
confirmBtn.onclick = null;
|
||||||
cancelBtn.onclick = null;
|
cancelBtn.onclick = null;
|
||||||
|
confirmBtn.textContent = 'Delete';
|
||||||
|
confirmBtn.disabled = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
cancelBtn.onclick = closeModal;
|
cancelBtn.onclick = closeModal;
|
||||||
|
|||||||
Reference in New Issue
Block a user