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