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

update components

This commit is contained in:
Luke Pulverenti 2016-06-03 12:26:37 -04:00
parent 2ebcfe8642
commit 81ab24a44c
7 changed files with 14 additions and 24 deletions

View file

@ -207,8 +207,7 @@
var imgUrl = apiClient.getScaledImageUrl(item.id, {
type: "Backdrop",
tag: item.tag,
//maxWidth: window.innerWidth,
quality: 100
maxWidth: Math.min(screen.availWidth || window.innerWidth, 1920)
});
setBackdrop(imgUrl, type);