mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix errors in itemdetailpage
This commit is contained in:
parent
335dc4eff4
commit
45acf52548
1 changed files with 2 additions and 2 deletions
|
@ -647,7 +647,7 @@ define(["loading", "appRouter", "layoutManager", "connectionManager", "cardBuild
|
|||
function setTitle(item, apiClient) {
|
||||
var url = logoImageUrl(item, apiClient, {});
|
||||
|
||||
if (url = null) {
|
||||
if (url == null) {
|
||||
var pageTitle = document.querySelector(".pageTitle");
|
||||
pageTitle.style.backgroundImage = "url('" + url + "')";
|
||||
pageTitle.classList.add("pageTitleWithLogo");
|
||||
|
@ -1661,7 +1661,7 @@ define(["loading", "appRouter", "layoutManager", "connectionManager", "cardBuild
|
|||
function canPlaySomeItemInCollection(items) {
|
||||
var i = 0;
|
||||
|
||||
for (length = items.length; i < length; i++) {
|
||||
for (var length = items.length; i < length; i++) {
|
||||
if (playbackManager.canPlay(items[i])) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue