mirror of https://git.sr.ht/~cadence/cloudtube
Fix format order from Invidious
This commit is contained in:
parent
c83bdcb924
commit
52aa158613
|
@ -30,7 +30,7 @@ function formatOrder(format) {
|
||||||
total += diff
|
total += diff
|
||||||
if (i+1 < spec.length) { // not the last spec item?
|
if (i+1 < spec.length) { // not the last spec item?
|
||||||
const s2 = spec[i+1]
|
const s2 = spec[i+1]
|
||||||
total *= s2.transform(s2.key)
|
total *= s2.transform(s2.max)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return -total
|
return -total
|
||||||
|
|
Loading…
Reference in New Issue