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

update omdb

This commit is contained in:
Luke Pulverenti 2015-07-06 10:20:23 -04:00
parent 9e6d8b6c98
commit 5cb377b6a9
12 changed files with 1028 additions and 28 deletions

View file

@ -3067,22 +3067,25 @@
return miscInfo.join('    ');
},
renderOverview: function (elem, item) {
renderOverview: function (elems, item) {
var overview = item.Overview || '';
$(elems).each(function () {
var elem = this;
var overview = item.Overview || '';
elem.innerHTML = overview;
elem.innerHTML = overview;
$('a', elem).each(function () {
this.setAttribute("target", "_blank");
$('a', elem).each(function () {
this.setAttribute("target", "_blank");
});
if (overview) {
elem.classList.remove('empty');
} else {
elem.classList.add('empty');
}
});
if (overview) {
elem.classList.remove('empty');
} else {
elem.classList.add('empty');
}
},
renderStudios: function (elem, item, context, isStatic) {