mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-22 15:07:42 +01:00
Fix character note for the first character in the list
This commit is contained in:
parent
6ae296d5b5
commit
b29bc4000c
@ -327,7 +327,7 @@ export function setFloatingPrompt() {
|
||||
shouldWIAddPrompt = shouldAddPrompt;
|
||||
|
||||
let prompt = shouldAddPrompt ? $('#extension_floating_prompt').val() : '';
|
||||
if (shouldAddPrompt && extension_settings.note.chara && getContext().characterId) {
|
||||
if (shouldAddPrompt && extension_settings.note.chara && getContext().characterId !== undefined) {
|
||||
const charaNote = extension_settings.note.chara.find((e) => e.name === getCharaFilename());
|
||||
|
||||
// Only replace with the chara note if the user checked the box
|
||||
|
Loading…
x
Reference in New Issue
Block a user