diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-05-01 11:39:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 11:39:52 +0000 |
commit | 696c338ee2841830fd5010427d90347329d5786a (patch) | |
tree | 6f9c37f302e6bcaf1ce3e1f1913f2db54f3b184e /javascript/imageParams.js | |
parent | b463b8a12672e010a8c86ea1c73b2c14ae5555d5 (diff) | |
parent | 50f63e22472dd532ddd76adb28f29aef46a71a86 (diff) | |
download | stable-diffusion-webui-gfx803-696c338ee2841830fd5010427d90347329d5786a.tar.gz stable-diffusion-webui-gfx803-696c338ee2841830fd5010427d90347329d5786a.tar.bz2 stable-diffusion-webui-gfx803-696c338ee2841830fd5010427d90347329d5786a.zip |
Merge pull request #9953 from akx/js-misc-fixes
Miscellaneous JS fixes
Diffstat (limited to 'javascript/imageParams.js')
-rw-r--r-- | javascript/imageParams.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/javascript/imageParams.js b/javascript/imageParams.js index 67404a89..64aee93b 100644 --- a/javascript/imageParams.js +++ b/javascript/imageParams.js @@ -1,7 +1,6 @@ window.onload = (function(){ window.addEventListener('drop', e => { const target = e.composedPath()[0]; - const idx = selected_gallery_index(); if (target.placeholder.indexOf("Prompt") == -1) return; let prompt_target = get_tab_index('tabs') == 1 ? "img2img_prompt_image" : "txt2img_prompt_image"; |