Fix tags selector for first in the list

This commit is contained in:
Cohee
2025-02-28 10:33:39 +02:00
parent 14aec43064
commit 16b62d9fb3

View File

@ -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`;
}