This commit is contained in:
LenAnderson 2024-01-07 19:19:46 +00:00
parent 7f8128b5d8
commit 9433a74fe8
1 changed files with 1 additions and 1 deletions

View File

@ -2305,7 +2305,7 @@ function onWorldInfoChange(args, text) {
if (selected_world_info.includes(name)) { if (selected_world_info.includes(name)) {
selected_world_info.splice(selected_world_info.indexOf(name), 1); selected_world_info.splice(selected_world_info.indexOf(name), 1);
wiElement.prop('selected', false); wiElement.prop('selected', false);
if (!silent) toastr.success(`Dectivated world: ${name}`); if (!silent) toastr.success(`Deactivated world: ${name}`);
} else { } else {
selected_world_info.push(name); selected_world_info.push(name);
wiElement.prop('selected', true); wiElement.prop('selected', true);