This commit is contained in:
AUTOMATIC1111 2024-01-23 00:36:31 +03:00
parent f4e931f18f
commit 94d4b3c8e7
1 changed files with 2 additions and 2 deletions

View File

@ -146,9 +146,9 @@ function extraNetworksMovePromptToTab(tabname, id, showPrompt, showNegativePromp
}
function extraNetworksShowControlsForPage(tabname, tabname_full){
function extraNetworksShowControlsForPage(tabname, tabname_full) {
gradioApp().querySelectorAll('#' + tabname + '_extra_tabs .extra-networks-controls-div > div').forEach(function(elem) {
targetId = tabname_full + "_controls"
var targetId = tabname_full + "_controls";
elem.style.display = elem.id == targetId ? "" : "none";
});
}