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

Remove the small logo in OSD and details page

This commit is contained in:
MrTimscampi 2020-04-30 20:15:39 +02:00
parent d63f8f13a6
commit be54505bf3
2 changed files with 3 additions and 27 deletions

View file

@ -309,18 +309,7 @@ define(["playbackManager", "dom", "inputManager", "datetime", "itemHelper", "med
}
function setTitle(item, parentName) {
var url = logoImageUrl(item, connectionManager.getApiClient(item.ServerId), {});
if (url) {
Emby.Page.setTitle("");
var pageTitle = document.querySelector(".pageTitle");
pageTitle.style.backgroundImage = "url('" + url + "')";
pageTitle.classList.add("pageTitleWithLogo");
pageTitle.classList.remove("pageTitleWithDefaultLogo");
pageTitle.innerHTML = "";
} else {
Emby.Page.setTitle(parentName || "");
}
Emby.Page.setTitle(parentName || '');
var documentTitle = parentName || (item ? item.Name : null);