use Ox.max

This commit is contained in:
j 2012-03-17 01:59:09 +01:00
parent 5251a5a4f1
commit d3a2f42a64

View file

@ -7,7 +7,7 @@ pandora.ui.upload = function(oshash, file) {
chunkUrl,
format = pandora.site.video.formats[0],
maxRetry = -1,
resolution = Math.max(pandora.site.video.resolutions),
resolution = Ox.max(pandora.site.video.resolutions),
retries = 0,
that = Ox.Element(),
uploadData = {},