mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Merge branch 'preview-features' of https://github.com/the1812/Bilibili-Evolved into preview-features
This commit is contained in:
commit
719bb58945
@ -207,7 +207,7 @@ const buildElementPart = (
|
||||
|
||||
const updateAvailableSpeedValues = () => {
|
||||
availableSpeedValues = lodash([...menuListElement.children])
|
||||
.map(element => lodash.attempt(() => parseSpeedText(element.innerHTML)))
|
||||
.map(element => lodash.attempt(() => parseSpeedText(element.textContent)))
|
||||
.reject(speed => lodash.isError(speed))
|
||||
.sort(ascendingSort())
|
||||
.value() as number[]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user