From 33e6bc34ff4f826060489f0f76e6653672c8f1aa Mon Sep 17 00:00:00 2001 From: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Mon, 1 May 2023 19:59:52 +0900 Subject: [PATCH] restore_progress fix id wrong type --- javascript/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/ui.js b/javascript/ui.js index e14b33f5b..33a48b9ad 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 }