mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
second appearance
This commit is contained in:
parent
e7a044a2d1
commit
f739e3e05d
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ class ScriptBuiltinUI(Script):
|
|||
"""helper function to generate id for a HTML element, constructs final id out of tab and user-supplied item_id"""
|
||||
|
||||
need_tabname = self.show(True) == self.show(False)
|
||||
tabname = ('img2img' if self.is_img2img else 'txt2txt') + "_" if need_tabname else ""
|
||||
tabname = ('img2img' if self.is_img2img else 'txt2img') + "_" if need_tabname else ""
|
||||
|
||||
return f'{tabname}{item_id}'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue