1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Update index.js

This commit is contained in:
Brad Beattie 2023-10-18 10:15:52 -07:00 committed by Bill Thornton
parent 799fbd0965
commit 9cccbae5bb

View file

@ -1258,11 +1258,11 @@ function renderTags(page, item) {
} }
for (let i = 0, length = tags.length; i < length; i++) { for (let i = 0, length = tags.length; i < length; i++) {
tagElements.push(tags[i]); tagElements.push('<a href="#/search.html?query=' + encodeURIComponent(tags[i]) + '" class="button-link emby-button" is="emby-linkbutton">' + tags[i] + '</a>');
} }
if (tagElements.length) { if (tagElements.length) {
itemTags.innerText = globalize.translate('TagsValue', tagElements.join(', ')); itemTags.innerHTML = globalize.translate('TagsValue', tagElements.join(', '));
itemTags.classList.remove('hide'); itemTags.classList.remove('hide');
} else { } else {
itemTags.innerHTML = ''; itemTags.innerHTML = '';