diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-01-12 19:47:33 +0300 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-01-12 19:47:33 +0300 |
commit | 5623a3e7b1beed61f3ae6829a05b7b861d70e203 (patch) | |
tree | 3a01b580e3bcdd872749ad53d9e59bf224331c1b | |
parent | 0b8911d883118daa54f7735c5b753b5575d9f943 (diff) |
fix send to inpaint sending you to wrong place
-rw-r--r-- | javascript/ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/ui.js b/javascript/ui.js index ee226927..a41dd26f 100644 --- a/javascript/ui.js +++ b/javascript/ui.js @@ -54,7 +54,7 @@ function switch_to_img2img(){ function switch_to_inpaint(){ 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); } |