diff --git a/ui/media/js/main.js b/ui/media/js/main.js index 8b721ff4..ebcfcd5b 100644 --- a/ui/media/js/main.js +++ b/ui/media/js/main.js @@ -825,7 +825,7 @@ function createTask(task) { let question = (task['isProcessing'] ? "Stop this task?" : "Remove this task?") shiftOrConfirm(e, question, async function(e) { if (task.batchesDone <= 0 || !task.isProcessing) { - taskEntry.remove() + removeTask(taskEntry) } abortTask(task) })