posterRatio

This commit is contained in:
j 2011-08-20 11:07:45 +02:00
commit 244dff6217
2 changed files with 3 additions and 3 deletions

View file

@ -501,7 +501,7 @@ pandora.ui.infoView = function(data) {
$reflectionIcon.attr({src: src});
iconSize = iconSize == 256 ? 512 : 256;
iconRatio = pandora.user.ui.icons == 'posters'
? data.poster.width / data.poster.height : 1;
? data.posterRatio : 1;
toggleIconSize();
pandora.user.level == 'admin' && $list.replaceWith($list = renderList());
};
@ -514,4 +514,4 @@ pandora.ui.infoView = function(data) {
return that;
}
}