fix search UI invisible in an extra network tab that just loaded

This commit is contained in:
AUTOMATIC1111 2024-02-17 09:45:48 +03:00
parent 2e1b61e590
commit 7dae6bb3b5

View File

@ -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");