From 16b62d9fb3640814a715aa5cd27ec91fde714cd4 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Fri, 28 Feb 2025 10:33:39 +0200 Subject: [PATCH] Fix tags selector for first in the list --- public/scripts/tags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/tags.js b/public/scripts/tags.js index 7e42f5cd7..badb1ee8c 100644 --- a/public/scripts/tags.js +++ b/public/scripts/tags.js @@ -410,7 +410,7 @@ function getInlineListSelector() { return `.group_select[grid="${selected_group}"] .tags`; } - if (this_chid && menu_type === 'character_edit') { + if (this_chid !== undefined && menu_type === 'character_edit') { return `.character_select[chid="${this_chid}"] .tags`; }