From 247048ebfab5e27081c9cd800098aaf3cc7a66ca Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 7 Jan 2024 18:58:30 +0200 Subject: [PATCH] Use boolean selector --- public/scripts/world-info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js index d0fc83f05..abb552391 100644 --- a/public/scripts/world-info.js +++ b/public/scripts/world-info.js @@ -2267,7 +2267,7 @@ export async function importEmbeddedWorldInfo(skipPopup = false) { function onWorldInfoChange(args, text) { if (args !== '__notSlashCommand__') { // if it's a slash command - const silent = args.silent == 'true'; + const silent = isTrueBoolean(args.silent); if (text.trim() !== '') { // and args are provided const slashInputSplitText = text.trim().toLowerCase().split(',');