mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-25 17:55:09 +01:00
Merge pull request #653 from cmdr2/beta
Don't collapse the task entry if 'Stop Task' is pressed
This commit is contained in:
commit
0307114c8e
@ -820,6 +820,8 @@ function createTask(task) {
|
||||
task['stopTask'] = taskEntry.querySelector('.stopTask')
|
||||
|
||||
task['stopTask'].addEventListener('click', (e) => {
|
||||
e.stopPropagation()
|
||||
|
||||
let question = (task['isProcessing'] ? "Stop this task?" : "Remove this task?")
|
||||
shiftOrConfirm(e, question, async function(e) {
|
||||
if (task.batchesDone <= 0 || !task.isProcessing) {
|
||||
|
Loading…
Reference in New Issue
Block a user