mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update tl
This commit is contained in:
@ -7853,7 +7853,7 @@ function addAlternateGreeting(template, greeting, index, getArray) {
|
||||
}).val(greeting);
|
||||
greetingBlock.find('.greeting_index').text(index + 1);
|
||||
greetingBlock.find('.delete_alternate_greeting').on('click', async function () {
|
||||
if (confirm('Are you sure you want to delete this alternate greeting?')) {
|
||||
if (confirm(t`Are you sure you want to delete this alternate greeting?`)) {
|
||||
const array = getArray();
|
||||
array.splice(index, 1);
|
||||
// We need to reopen the popup to update the index numbers
|
||||
|
Reference in New Issue
Block a user