mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-11-27 06:40:10 +08:00
fix search UI invisible in an extra network tab that just loaded
This commit is contained in:
parent
2e1b61e590
commit
7dae6bb3b5
@ -114,6 +114,10 @@ function setupExtraNetworksForTab(tabname) {
|
||||
|
||||
var controls = gradioApp().querySelector("#" + tabname_full + "_controls");
|
||||
controlsDiv.insertBefore(controls, null);
|
||||
|
||||
if (elem.style.display != "none") {
|
||||
extraNetworksShowControlsForPage(tabname, tabname_full);
|
||||
}
|
||||
});
|
||||
|
||||
registerPrompt(tabname, tabname + "_prompt");
|
||||
|
Loading…
Reference in New Issue
Block a user