From 7f8128b5d8cd305bab458d8ffde4a5fb70c23f78 Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Sun, 7 Jan 2024 18:34:16 +0000 Subject: [PATCH] fix toggle toast content --- public/scripts/world-info.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js index 07a041531..d0b27cc5d 100644 --- a/public/scripts/world-info.js +++ b/public/scripts/world-info.js @@ -2305,11 +2305,11 @@ function onWorldInfoChange(args, text) { if (selected_world_info.includes(name)) { selected_world_info.splice(selected_world_info.indexOf(name), 1); wiElement.prop('selected', false); - if (!silent) toastr.success(`Activated world: ${name}`); + if (!silent) toastr.success(`Dectivated world: ${name}`); } else { selected_world_info.push(name); wiElement.prop('selected', true); - if (!silent) toastr.success(`Deactivated world: ${name}`); + if (!silent) toastr.success(`Activated world: ${name}`); } break; }