mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Improved appearance of images and artworks - Part 3
This commit is contained in:
parent
639637956e
commit
529e9102cd
4 changed files with 1 additions and 21 deletions
|
@ -25,11 +25,6 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
|
|||
if (user && user.name) {
|
||||
if (user.imageUrl) {
|
||||
var url = user.imageUrl;
|
||||
|
||||
if (user.supportsImageParams) {
|
||||
url += "&height=" + Math.round(26 * Math.max(window.devicePixelRatio || 1, 2));
|
||||
}
|
||||
|
||||
updateHeaderUserButton(url);
|
||||
hasImage = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue