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

fix tv program cards

This commit is contained in:
Luke Pulverenti 2016-08-03 16:14:39 -04:00
parent 29f5388ae5
commit 0467a94a3d
5 changed files with 26 additions and 18 deletions

View file

@ -426,6 +426,9 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
function getCardImageUrl(item, apiClient, options) {
var imageItem = item.ProgramInfo || item;
item = imageItem;
var width = options.width;
var height = null;
var primaryImageAspectRatio = imageLoader.getPrimaryImageAspectRatio([item]);