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:
parent
799fbd0965
commit
9cccbae5bb
1 changed files with 2 additions and 2 deletions
|
@ -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 = '';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue