diff options
author | yfszzx <yfszzx@gmail.com> | 2022-10-10 10:33:49 +0000 |
---|---|---|
committer | yfszzx <yfszzx@gmail.com> | 2022-10-10 10:33:49 +0000 |
commit | 23f2989799ee3911d2959cfceb74b921f20c9a51 (patch) | |
tree | 98a3f98b8f7bb9f901b64af3a6e2f484d744bb66 /javascript/images_history.js | |
parent | 8a7c07a2140c98bceca858087525d77fd0352fda (diff) | |
download | stable-diffusion-webui-gfx803-23f2989799ee3911d2959cfceb74b921f20c9a51.tar.gz stable-diffusion-webui-gfx803-23f2989799ee3911d2959cfceb74b921f20c9a51.tar.bz2 stable-diffusion-webui-gfx803-23f2989799ee3911d2959cfceb74b921f20c9a51.zip |
images history over
Diffstat (limited to 'javascript/images_history.js')
-rw-r--r-- | javascript/images_history.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript/images_history.js b/javascript/images_history.js index f30b7eff..93d2b89a 100644 --- a/javascript/images_history.js +++ b/javascript/images_history.js @@ -58,9 +58,9 @@ function set_history_index_from_img(e){ } } } -function images_history_get_current_img(is_image2image){ +function images_history_get_current_img(is_image2image, image_path, files){ head = is_image2image?"img2img":"txt2img" s = $(gradioApp().getElementById(head + '_images_history_set_index')).attr("img_index") - return s + return [s, image_path, files] } |