fix broken generate button if not using live previews
This commit is contained in:
parent
9e4019c5ff
commit
9158d0fd12
|
@ -86,7 +86,7 @@ function requestProgress(id_task, progressbarContainer, gallery, atEnd, onProgre
|
|||
|
||||
setTitle("");
|
||||
parentProgressbar.removeChild(divProgress);
|
||||
if (gallery) gallery.removeChild(livePreview);
|
||||
if (gallery && livePreview) gallery.removeChild(livePreview);
|
||||
atEnd();
|
||||
|
||||
divProgress = null;
|
||||
|
|
Loading…
Reference in New Issue