mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
ti fixes
This commit is contained in:
@@ -25,7 +25,7 @@ function setupBracketChecking(idPrompt, idCounter) {
|
||||
const textarea = gradioApp().querySelector(`#${idPrompt} > label > textarea`);
|
||||
const counter = gradioApp().getElementById(idCounter);
|
||||
if (!textarea || !counter) return;
|
||||
if (!promptCheckerInitialized) log('promptChecker');
|
||||
if (!promptCheckerInitialized) log('initPromptChecker');
|
||||
promptCheckerInitialized = true;
|
||||
textarea.addEventListener('input', () => checkBrackets(textarea, counter));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user