mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
#733 Reload selected chat instead of inserting the first one in array
This commit is contained in:
@@ -15,7 +15,6 @@ import {
|
||||
printCharacters,
|
||||
name1,
|
||||
name2,
|
||||
replaceCurrentChat,
|
||||
setCharacterId,
|
||||
setEditedMessageId
|
||||
} from "../script.js";
|
||||
@@ -1177,7 +1176,7 @@ function doRandomChat() {
|
||||
resetSelectedGroup();
|
||||
setCharacterId(Math.floor(Math.random() * characters.length));
|
||||
setTimeout(() => {
|
||||
replaceCurrentChat();
|
||||
reloadCurrentChat();
|
||||
}, 1);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user