mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
make it impossible to press the restore progress button after pressing it once
This commit is contained in:
parent
f15b7e52e3
commit
67f5c2abb0
1 changed files with 4 additions and 0 deletions
|
|
@ -208,6 +208,8 @@ function submit_img2img(){
|
|||
}
|
||||
|
||||
function restoreProgressTxt2img(x){
|
||||
showRestoreProgressButton("txt2img", false)
|
||||
|
||||
id = localStorage.getItem("txt2img_task_id")
|
||||
|
||||
if(id) {
|
||||
|
|
@ -219,6 +221,8 @@ function restoreProgressTxt2img(x){
|
|||
return [id]
|
||||
}
|
||||
function restoreProgressImg2img(x){
|
||||
showRestoreProgressButton("img2img", false)
|
||||
|
||||
id = localStorage.getItem("img2img_task_id")
|
||||
|
||||
if(id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue