Commit 94d4b3c8 authored by AUTOMATIC1111's avatar AUTOMATIC1111

lint

parent f4e931f1
...@@ -146,9 +146,9 @@ function extraNetworksMovePromptToTab(tabname, id, showPrompt, showNegativePromp ...@@ -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";
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment