mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
fix extra networks
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user