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

continue jquery removal

This commit is contained in:
Luke Pulverenti 2016-06-24 11:12:13 -04:00
parent 443878a501
commit ba14c457e8
7 changed files with 216 additions and 152 deletions

View file

@ -3298,11 +3298,11 @@
html = Globalize.translate(translationKey, html);
elem.show().html(html).trigger('create');
elem.innerHTML = html;
elem.classList.remove('hide');
} else {
elem.hide();
elem.classList.add('hide');
}
},
@ -3358,9 +3358,10 @@
renderAwardSummary: function (elem, item) {
if (item.AwardSummary) {
elem.show().html(Globalize.translate('ValueAwards', item.AwardSummary));
elem.classList.remove('hide');
elem.innerHTML = Globalize.translate('ValueAwards', item.AwardSummary);
} else {
elem.hide();
elem.classList.add('hide');
}
},