MCPcopy Create free account
hub / github.com/DenOfEquity/ersatzForge / updatePromptArea

Function updatePromptArea

javascript/extraNetworks.js:289–295  ·  view source on GitHub ↗
(text, textArea, isNeg)

Source from the content-addressed store, hash-verified

287function updatePromptArea(text, textArea, isNeg) {
288 if (!tryToRemoveExtraNetworkFromPrompt(textArea, text, isNeg)) {
289 if (textArea.value !== "") {
290 textArea.value = textArea.value + " " + text;
291 }
292 else {
293 textArea.value = text;
294 }
295 }
296
297 updateInput(textArea);
298}

Callers 1

cardClickedFunction · 0.85

Calls 2

updateInputFunction · 0.70

Tested by

no test coverage detected