Update ui/media/js/main.js

Co-authored-by: rbertus2000 <91765399+rbertus2000@users.noreply.github.com>
This commit is contained in:
JeLuF 2023-07-07 22:49:21 +02:00 committed by GitHub
parent 0d9d01c9f5
commit 21946ff824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2176,12 +2176,12 @@ function updateEmbeddingsList(filter="") {
if (!negativePromptField.value.endsWith(" ")) {
pad = " "
}
negativePromptField += pad + text
negativePromptField.value += pad + text
} else {
if (!promptField.value.endsWith(" ")) {
pad = " "
}
promptField += pad + text
promptField.value += pad + text
}
}
}