diff options
author | yfszzx <yfszzx@gmail.com> | 2022-10-16 04:34:05 +0000 |
---|---|---|
committer | yfszzx <yfszzx@gmail.com> | 2022-10-16 04:34:05 +0000 |
commit | 5d8c59eee505cf15ec6994d05bb941440d90e44e (patch) | |
tree | a87f6e38d4dc33e3f293f10f9cdd1760af93114c /javascript/imageParams.js | |
parent | 763b893f319cee280b86e63025eb55e7c16b02e7 (diff) | |
parent | d41ac174e24e1e7cdcf7b42f2a03cbc6394eb5e5 (diff) | |
download | stable-diffusion-webui-gfx803-5d8c59eee505cf15ec6994d05bb941440d90e44e.tar.gz stable-diffusion-webui-gfx803-5d8c59eee505cf15ec6994d05bb941440d90e44e.tar.bz2 stable-diffusion-webui-gfx803-5d8c59eee505cf15ec6994d05bb941440d90e44e.zip |
Merge branch 'master' of https://github.com/yfszzx/stable-diffusion-webui-plus
Diffstat (limited to 'javascript/imageParams.js')
-rw-r--r-- | javascript/imageParams.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/imageParams.js b/javascript/imageParams.js index 4a7b0900..67404a89 100644 --- a/javascript/imageParams.js +++ b/javascript/imageParams.js @@ -2,7 +2,7 @@ window.onload = (function(){ window.addEventListener('drop', e => { const target = e.composedPath()[0]; const idx = selected_gallery_index(); - if (target.placeholder != "Prompt") return; + if (target.placeholder.indexOf("Prompt") == -1) return; let prompt_target = get_tab_index('tabs') == 1 ? "img2img_prompt_image" : "txt2img_prompt_image"; |