mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-21 06:03:15 +01:00
refresh live char when a new talkinghead image is uploaded
This commit is contained in:
parent
7f4a45a4a3
commit
a7c6f4f56e
@ -1265,6 +1265,11 @@ async function onClickExpressionUpload(event) {
|
||||
|
||||
// Reset the input
|
||||
e.target.form.reset();
|
||||
|
||||
// In talkinghead mode, when a new talkinghead image is uploaded, refresh the live char.
|
||||
if (extension_settings.expressions.talkinghead && id === "talkinghead") {
|
||||
await loadLiveChar();
|
||||
}
|
||||
};
|
||||
|
||||
$('#expression_upload')
|
||||
|
Loading…
Reference in New Issue
Block a user