fix #1405 submitting both tabs
This commit is contained in:
parent
20f378a399
commit
6b02966fcd
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ onUiUpdate(function(){
|
|||
if (!img2img_textarea) {
|
||||
img2img_textarea = gradioApp().querySelector("#img2img_prompt > label > textarea");
|
||||
img2img_textarea?.addEventListener("input", () => update_token_counter("img2img_token_button"));
|
||||
txt2img_textarea?.addEventListener("keyup", (event) => submit_prompt(event, "img2img_generate"));
|
||||
img2img_textarea?.addEventListener("keyup", (event) => submit_prompt(event, "img2img_generate"));
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue