From 94d4b3c8e78df41eea431069475e1d35f75d02ff Mon Sep 17 00:00:00 2001 From: AUTOMATIC1111 <16777216c@gmail.com> Date: Tue, 23 Jan 2024 00:36:31 +0300 Subject: [PATCH] lint --- javascript/extraNetworks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/extraNetworks.js b/javascript/extraNetworks.js index 1258f856a..4ef1a96fb 100644 --- a/javascript/extraNetworks.js +++ b/javascript/extraNetworks.js @@ -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"; }); }