From d3a2f42a64106bfea0f89e79954ae6b4ad84cf72 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 17 Mar 2012 01:59:09 +0100 Subject: [PATCH] use Ox.max --- static/js/pandora/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/upload.js b/static/js/pandora/upload.js index 58ca3e81..b9a5ed3b 100644 --- a/static/js/pandora/upload.js +++ b/static/js/pandora/upload.js @@ -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 = {},