fix extra networks

This commit is contained in:
Vladimir Mandic
2023-06-05 15:14:50 -04:00
parent 464bd60977
commit c49b6c34e1
4 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ function setupBracketChecking(id_prompt, id_counter) {
}
}
onUiLoaded(function() {
onAfterUiUpdate(function() {
setupBracketChecking('txt2img_prompt', 'txt2img_token_counter');
setupBracketChecking('txt2img_neg_prompt', 'txt2img_negative_token_counter');
setupBracketChecking('img2img_prompt', 'img2img_token_counter');
+1 -1
View File
@@ -42,7 +42,7 @@ function onOptionsChanged(callback) {
}
function executeCallbacks(queue, arg) {
if (!uiLoaded) return
// if (!uiLoaded) return
for (const callback of queue) {
try {
callback(arg);