fix typo
This commit is contained in:
parent
7f8128b5d8
commit
9433a74fe8
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue