mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-05 00:31:49 -08:00
make dragging to prompt work again
This commit is contained in:
parent
e8729dd051
commit
3631adfe96
2 changed files with 3 additions and 3 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue