stream might be null
This commit is contained in:
parent
4d89b8066b
commit
191e5d44ad
1 changed files with 2 additions and 6 deletions
|
@ -685,12 +685,8 @@ pandora.ui.infoView = function(data) {
|
|||
return image.selected;
|
||||
})[0];
|
||||
$list = Ox.IconList({
|
||||
defaultRatio: ui.icons == 'posters' && data.stream.aspectratio
|
||||
? 5/8
|
||||
: data.stream.aspectratio,
|
||||
fixedRatio: ui.icons == 'posters' && data.stream.aspectratio
|
||||
? false
|
||||
: data.stream.aspectratio,
|
||||
defaultRatio: ui.icons == 'posters' || !data.stream ? 5/8 : data.stream.aspectratio,
|
||||
fixedRatio: ui.icons == 'posters' || !data.stream ? false : data.stream.aspectratio,
|
||||
item: function(data, sort, size) {
|
||||
var ratio = data.width / data.height;
|
||||
size = size || 128;
|
||||
|
|
Loading…
Reference in a new issue