mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +08:00
lint
This commit is contained in:
parent
f4e931f18f
commit
94d4b3c8e7
@ -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…
Reference in New Issue
Block a user