mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix parameters not substituted when editing first message
This commit is contained in:
@@ -5165,7 +5165,10 @@ function messageEditAuto(div) {
|
||||
}
|
||||
|
||||
async function messageEditDone(div) {
|
||||
const { mesBlock, text, mes, bias } = updateMessage(div);
|
||||
let { mesBlock, text, mes, bias } = updateMessage(div);
|
||||
if (this_edit_mes_id == 0) {
|
||||
text = substituteParams(text);
|
||||
}
|
||||
|
||||
mesBlock.find(".mes_text").empty();
|
||||
mesBlock.find(".mes_edit_buttons").css("display", "none");
|
||||
|
Reference in New Issue
Block a user