mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update omdb
This commit is contained in:
parent
9e6d8b6c98
commit
5cb377b6a9
12 changed files with 1028 additions and 28 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue