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:
parent
d63f8f13a6
commit
be54505bf3
2 changed files with 3 additions and 27 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue