aboutsummaryrefslogtreecommitdiff
path: root/javascript/ui.js
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-05-01 19:59:52 +0900
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-05-01 19:59:52 +0900
commit33e6bc34ff4f826060489f0f76e6653672c8f1aa (patch)
tree1a043212dd953570c834cf32219dc6735745de8e /javascript/ui.js
parentf15b7e52e33de1f0e2fcd99c9d4204ebb0fef536 (diff)
restore_progress fix
id wrong type
Diffstat (limited to 'javascript/ui.js')
-rw-r--r--javascript/ui.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript/ui.js b/javascript/ui.js
index e14b33f5..33a48b9a 100644
--- a/javascript/ui.js
+++ b/javascript/ui.js
@@ -216,7 +216,7 @@ function restoreProgressTxt2img(x){
}, null, 0)
}
- return [id]
+ return id
}
function restoreProgressImg2img(x){
id = localStorage.getItem("img2img_task_id")
@@ -227,7 +227,7 @@ function restoreProgressImg2img(x){
}, null, 0)
}
- return [id]
+ return id
}