possible fix for tag deletion modal
This commit is contained in:
@@ -622,8 +622,11 @@ window.requestAnimFrame = (function () {
|
|||||||
|
|
||||||
if (modal) {
|
if (modal) {
|
||||||
nameEl.textContent = tagName;
|
nameEl.textContent = tagName;
|
||||||
|
confirmBtn.textContent = 'Delete';
|
||||||
|
confirmBtn.disabled = false;
|
||||||
modal.style.display = 'flex';
|
modal.style.display = 'flex';
|
||||||
|
|
||||||
|
|
||||||
const closeModal = () => {
|
const closeModal = () => {
|
||||||
modal.style.display = 'none';
|
modal.style.display = 'none';
|
||||||
confirmBtn.onclick = null;
|
confirmBtn.onclick = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user