use iconHeight

This commit is contained in:
j 2012-05-31 20:37:19 +02:00
parent 6d6644ef76
commit 7ae2ffb898

View file

@ -46,7 +46,7 @@ pandora.ui.infoView = function(data) {
getFrame: function(position) {
var resolutions = pandora.site.video.resolutions.filter(
function(resolution, i) {
return resolution >= data.height;
return resolution >= iconHeight;
}),
resolution = resolutions.length
? Ox.min(resolutions)