mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
Fix errors in itemdetailpage
This commit is contained in:
parent
335dc4eff4
commit
45acf52548
@ -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…
Reference in New Issue
Block a user