mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix world unset
This commit is contained in:
@@ -2310,8 +2310,8 @@ function onWorldInfoChange(args, text) {
|
|||||||
});
|
});
|
||||||
$('#world_info').trigger('change');
|
$('#world_info').trigger('change');
|
||||||
} else { // if no args, unset all worlds
|
} else { // if no args, unset all worlds
|
||||||
toastr.success('Deactivated all worlds');
|
if (!silent) toastr.success('Deactivated all worlds');
|
||||||
if (!silent) selected_world_info = [];
|
selected_world_info = [];
|
||||||
$('#world_info').val(null).trigger('change');
|
$('#world_info').val(null).trigger('change');
|
||||||
}
|
}
|
||||||
} else { //if it's a pointer selection
|
} else { //if it's a pointer selection
|
||||||
|
Reference in New Issue
Block a user