diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-01-20 05:36:30 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-01-20 05:36:37 +0000 |
commit | 6c7a50d783c4e406d8597f9cf354bb8128026f6c (patch) | |
tree | 13fbca173275873c12d2cd0e08a5def68ada649d /modules/ui.py | |
parent | b165e341e70300f66c8a77b9383041f4147b24a8 (diff) | |
download | stable-diffusion-webui-gfx803-6c7a50d783c4e406d8597f9cf354bb8128026f6c.tar.gz stable-diffusion-webui-gfx803-6c7a50d783c4e406d8597f9cf354bb8128026f6c.tar.bz2 stable-diffusion-webui-gfx803-6c7a50d783c4e406d8597f9cf354bb8128026f6c.zip |
remove some unnecessary logging to javascript console
Diffstat (limited to 'modules/ui.py')
-rw-r--r-- | modules/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py index 13d80ae2..eb45a128 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -532,7 +532,7 @@ Requested path was: {f} generation_info_button = gr.Button(visible=False, elem_id=f"{tabname}_generation_info_button")
generation_info_button.click(
fn=update_generation_info,
- _js="function(x, y, z){ console.log(x, y, z); return [x, y, selected_gallery_index()] }",
+ _js="function(x, y, z){ return [x, y, selected_gallery_index()] }",
inputs=[generation_info, html_info, html_info],
outputs=[html_info, html_info],
)
|