mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-20 18:08:00 +02:00
Removed the option to disable it
This commit is contained in:
parent
19405ee960
commit
d90a7de8ba
@ -62,7 +62,6 @@ const taskConfigSetup = {
|
|||||||
|
|
||||||
let imageCounter = 0
|
let imageCounter = 0
|
||||||
let imageRequest = []
|
let imageRequest = []
|
||||||
let SHOW_PROGRESS = true
|
|
||||||
|
|
||||||
let promptField = document.querySelector("#prompt")
|
let promptField = document.querySelector("#prompt")
|
||||||
let promptsFromFileSelector = document.querySelector("#prompt_from_file")
|
let promptsFromFileSelector = document.querySelector("#prompt_from_file")
|
||||||
@ -1177,9 +1176,7 @@ function abortTask(task) {
|
|||||||
console.error(e)
|
console.error(e)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if (SHOW_PROGRESS) {
|
|
||||||
document.title = "Stopped - Easy Diffusion"
|
document.title = "Stopped - Easy Diffusion"
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function onTaskErrorHandler(task, reqBody, instance, reason) {
|
function onTaskErrorHandler(task, reqBody, instance, reason) {
|
||||||
@ -1285,9 +1282,7 @@ function onTaskCompleted(task, reqBody, instance, outputContainer, stepUpdate) {
|
|||||||
if (isSoundEnabled()) {
|
if (isSoundEnabled()) {
|
||||||
playSound()
|
playSound()
|
||||||
}
|
}
|
||||||
if (SHOW_PROGRESS) {
|
|
||||||
updateTitle()
|
updateTitle()
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateTitle() {
|
function updateTitle() {
|
||||||
@ -1390,9 +1385,7 @@ async function onTaskStart(task) {
|
|||||||
renderButtons.style.display = "flex"
|
renderButtons.style.display = "flex"
|
||||||
renameMakeImageButton()
|
renameMakeImageButton()
|
||||||
updateInitialText()
|
updateInitialText()
|
||||||
if (SHOW_PROGRESS) {
|
|
||||||
updateTitle();
|
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