From 866f514d19c0fc08041ed3bd624914f6a2ee7283 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 6 Apr 2024 20:17:58 +0300 Subject: [PATCH] Fix undefined in tag tooltip --- 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 a7422a888..5fc477b02 100644 --- a/public/scripts/tags.js +++ b/public/scripts/tags.js @@ -765,7 +765,7 @@ function appendTagToList(listElement, tag, { removable = false, selectable = fal tagElement.attr('title', tag.title); } if (tag.icon) { - tagElement.find('.tag_name').text('').attr('title', `${tag.name} ${tag.title}`.trim()).addClass(tag.icon); + tagElement.find('.tag_name').text('').attr('title', `${tag.name} ${tag.title || ''}`.trim()).addClass(tag.icon); tagElement.addClass('actionable'); }