提交 9158d0fd 编写于 作者: A AUTOMATIC1111

fix broken generate button if not using live previews

上级 9e4019c5
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册