Removed the option to disable it

This commit is contained in:
ManInDark 2023-06-29 12:00:59 +02:00
parent 19405ee960
commit d90a7de8ba
No known key found for this signature in database
GPG Key ID: 72EC12A5B2D62779

View File

@ -62,7 +62,6 @@ const taskConfigSetup = {
let imageCounter = 0
let imageRequest = []
let SHOW_PROGRESS = true
let promptField = document.querySelector("#prompt")
let promptsFromFileSelector = document.querySelector("#prompt_from_file")
@ -1177,9 +1176,7 @@ function abortTask(task) {
console.error(e)
}
})
if (SHOW_PROGRESS) {
document.title = "Stopped - Easy Diffusion"
}
document.title = "Stopped - Easy Diffusion"
}
function onTaskErrorHandler(task, reqBody, instance, reason) {
@ -1285,9 +1282,7 @@ function onTaskCompleted(task, reqBody, instance, outputContainer, stepUpdate) {
if (isSoundEnabled()) {
playSound()
}
if (SHOW_PROGRESS) {
updateTitle()
}
updateTitle()
}
function updateTitle() {
@ -1390,9 +1385,7 @@ async function onTaskStart(task) {
renderButtons.style.display = "flex"
renameMakeImageButton()
updateInitialText()
if (SHOW_PROGRESS) {
updateTitle();
}
updateTitle();
}
/* Hover effect for the init image in the task list */