forked from extern/easydiffusion
Slight improvement of detection logic
This commit is contained in:
parent
e64e1a92e6
commit
14714b950d
@ -1050,7 +1050,7 @@ async function stopAllTasks() {
|
||||
function removeTask(taskToRemove) {
|
||||
taskToRemove.remove()
|
||||
|
||||
if (document.querySelectorAll('.imageTaskContainer').length === 0) {
|
||||
if (document.querySelector('.imageTaskContainer') === null) {
|
||||
previewTools.style.display = 'none'
|
||||
initialText.style.display = 'block'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user