This commit is contained in:
2023-07-31 16:24:51 +03:00
parent 59cf5b17b5
commit 70ff3841f6
4 changed files with 40 additions and 4 deletions

View File

@@ -110,7 +110,7 @@ function confirmRemove(el) {
let cancel_button = document.createElement('button')
cancel_button.className = "cancel_remove";
cancel_button.innerText = "Отменить удаление";
let place = btn.closest(#select-remove)
let place = btn.closest("#select-remove")
place.insertBefore(cancel_button, btn.nextSibling);
}
btn.removeAttribute("id", "select-remove")