diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js index abb552391..79aabc100 100644 --- a/public/scripts/world-info.js +++ b/public/scripts/world-info.js @@ -2310,8 +2310,8 @@ function onWorldInfoChange(args, text) { }); $('#world_info').trigger('change'); } else { // if no args, unset all worlds - toastr.success('Deactivated all worlds'); - if (!silent) selected_world_info = []; + if (!silent) toastr.success('Deactivated all worlds'); + selected_world_info = []; $('#world_info').val(null).trigger('change'); } } else { //if it's a pointer selection