diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-27 06:39:37 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-27 06:45:08 +0000 |
commit | 6139b145f0039b1f428c763f0cd85cd2a96d0d52 (patch) | |
tree | 7dc9f327256a1006ec2e1ccd6fe4d5f8c440ef42 /modules/ui_common.py | |
parent | f331821b2711772aeac124b355628943c9c0c423 (diff) | |
download | stable-diffusion-webui-gfx803-6139b145f0039b1f428c763f0cd85cd2a96d0d52.tar.gz stable-diffusion-webui-gfx803-6139b145f0039b1f428c763f0cd85cd2a96d0d52.tar.bz2 stable-diffusion-webui-gfx803-6139b145f0039b1f428c763f0cd85cd2a96d0d52.zip |
fix style editing dialog breaking if it's opened in both img2img and txt2img tabs
Diffstat (limited to 'modules/ui_common.py')
-rw-r--r-- | modules/ui_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui_common.py b/modules/ui_common.py index eddc4bc8..84a7d7f2 100644 --- a/modules/ui_common.py +++ b/modules/ui_common.py @@ -261,7 +261,7 @@ def setup_dialog(button_show, dialog, *, button_close=None): fn=lambda: gr.update(visible=True),
inputs=[],
outputs=[dialog],
- ).then(fn=None, _js="function(){ popup(gradioApp().getElementById('" + dialog.elem_id + "')); }")
+ ).then(fn=None, _js="function(){ popupId('" + dialog.elem_id + "'); }")
if button_close:
button_close.click(fn=None, _js="closePopup")
|