From beb0b73a9e56fdc717d55bbf1a1c7c5b49d4c6a4 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 12 Jul 2026 19:23:19 -0400 Subject: feat: remains drop is optional --- internal/admin/static/editor.js | 1 - 1 file changed, 1 deletion(-) (limited to 'internal/admin/static/editor.js') diff --git a/internal/admin/static/editor.js b/internal/admin/static/editor.js index fe0ef10..593bf7f 100644 --- a/internal/admin/static/editor.js +++ b/internal/admin/static/editor.js @@ -178,7 +178,6 @@ function saveItem(id) { } function deleteItem(id) { - if (!confirm('Delete ' + editorType + ' "' + id + '"?')) return; API.del('/api/' + editorType + '/' + encodeURIComponent(id)).then(function() { notify(editorType + ' ' + id + ' deleted', 'success'); updateUndoBar(); -- cgit v1.2.3