Fix SD prefixes for first in the list

76e45abfc6ca759c97abe9253f525d509b57c05b

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Ignore whitespace
public/scripts/extensions/stable-diffusion/index.js+2 -2
@@ -783,7 +783,7 @@ async function onCharacterNegativePromptInput() {
783}783}
784784
785function getCharacterPrefix() {785function getCharacterPrefix() {
786 if (!this_chid || selected_group) {786 if (this_chid === undefined || selected_group) {
787 return '';787 return '';
788 }788 }
789789
@@ -797,7 +797,7 @@ function getCharacterPrefix() {
797}797}
798798
799function getCharacterNegativePrefix() {799function getCharacterNegativePrefix() {
800 if (!this_chid || selected_group) {800 if (this_chid === undefined || selected_group) {
801 return '';801 return '';
802 }802 }
803803