mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-20 18:08:00 +02:00
Fixed some remaining issues
This commit is contained in:
parent
d90a7de8ba
commit
fea8500d40
@ -1043,6 +1043,7 @@ function makeImage() {
|
|||||||
newTaskRequests.forEach(setEmbeddings)
|
newTaskRequests.forEach(setEmbeddings)
|
||||||
newTaskRequests.forEach(createTask)
|
newTaskRequests.forEach(createTask)
|
||||||
|
|
||||||
|
updateTitle()
|
||||||
updateInitialText()
|
updateInitialText()
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1151,6 +1152,7 @@ function getTaskUpdater(task, reqBody, outputContainer) {
|
|||||||
outputMsg.style.display = "block"
|
outputMsg.style.display = "block"
|
||||||
progressBarInner.style.width = `${percent}%`
|
progressBarInner.style.width = `${percent}%`
|
||||||
|
|
||||||
|
updateTitle()
|
||||||
if (stepUpdate.output) {
|
if (stepUpdate.output) {
|
||||||
showImages(reqBody, stepUpdate, outputContainer, true)
|
showImages(reqBody, stepUpdate, outputContainer, true)
|
||||||
}
|
}
|
||||||
@ -1176,7 +1178,9 @@ function abortTask(task) {
|
|||||||
console.error(e)
|
console.error(e)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
document.title = "Stopped - Easy Diffusion"
|
if (task.batchesDone > 0) {
|
||||||
|
document.title = "Stopped - Easy Diffusion"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function onTaskErrorHandler(task, reqBody, instance, reason) {
|
function onTaskErrorHandler(task, reqBody, instance, reason) {
|
||||||
@ -1385,7 +1389,6 @@ async function onTaskStart(task) {
|
|||||||
renderButtons.style.display = "flex"
|
renderButtons.style.display = "flex"
|
||||||
renameMakeImageButton()
|
renameMakeImageButton()
|
||||||
updateInitialText()
|
updateInitialText()
|
||||||
updateTitle();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hover effect for the init image in the task list */
|
/* Hover effect for the init image in the task list */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user