forked from 0x2620/pandora
use Ox.max
This commit is contained in:
parent
5251a5a4f1
commit
d3a2f42a64
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ pandora.ui.upload = function(oshash, file) {
|
||||||
chunkUrl,
|
chunkUrl,
|
||||||
format = pandora.site.video.formats[0],
|
format = pandora.site.video.formats[0],
|
||||||
maxRetry = -1,
|
maxRetry = -1,
|
||||||
resolution = Math.max(pandora.site.video.resolutions),
|
resolution = Ox.max(pandora.site.video.resolutions),
|
||||||
retries = 0,
|
retries = 0,
|
||||||
that = Ox.Element(),
|
that = Ox.Element(),
|
||||||
uploadData = {},
|
uploadData = {},
|
||||||
|
|
Loading…
Reference in a new issue