mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 19:22:32 +00:00
fix send to inpaint sending you to wrong place
This commit is contained in:
@@ -54,7 +54,7 @@ function switch_to_img2img(){
|
|||||||
|
|
||||||
function switch_to_inpaint(){
|
function switch_to_inpaint(){
|
||||||
gradioApp().querySelector('#tabs').querySelectorAll('button')[1].click();
|
gradioApp().querySelector('#tabs').querySelectorAll('button')[1].click();
|
||||||
gradioApp().getElementById('mode_img2img').querySelectorAll('button')[1].click();
|
gradioApp().getElementById('mode_img2img').querySelectorAll('button')[2].click();
|
||||||
|
|
||||||
return args_to_array(arguments);
|
return args_to_array(arguments);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user