mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev
This commit is contained in:
@@ -371,9 +371,9 @@ async function saveWorldInfo(immediately) {
|
||||
|
||||
async function renameWorldInfo() {
|
||||
const oldName = world_info;
|
||||
const newName = $("#world_popup_name").val();
|
||||
const newName = $("#world_popup_name").val().trim();
|
||||
|
||||
if (oldName === newName) {
|
||||
if (oldName === newName || !newName) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user