mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-03-09 23:44:55 +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");
|
var controls = gradioApp().querySelector("#" + tabname_full + "_controls");
|
||||||
controlsDiv.insertBefore(controls, null);
|
controlsDiv.insertBefore(controls, null);
|
||||||
|
|
||||||
|
if (elem.style.display != "none") {
|
||||||
|
extraNetworksShowControlsForPage(tabname, tabname_full);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
registerPrompt(tabname, tabname + "_prompt");
|
registerPrompt(tabname, tabname + "_prompt");
|
||||||
|
Loading…
Reference in New Issue
Block a user