mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
lint
This commit is contained in:
parent
f4e931f18f
commit
94d4b3c8e7
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
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";
|
elem.style.display = elem.id == targetId ? "" : "none";
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue