mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2025-11-19 20:56:31 +00:00
Fix format order from Invidious
This commit is contained in:
parent
c83bdcb924
commit
52aa158613
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue