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
+2 -2
View File
@@ -1258,11 +1258,11 @@ function renderTags(page, item) {
}
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) {
itemTags.innerText = globalize.translate('TagsValue', tagElements.join(', '));
itemTags.innerHTML = globalize.translate('TagsValue', tagElements.join(', '));
itemTags.classList.remove('hide');
} else {
itemTags.innerHTML = '';