mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
style(extend-video-speed): fix the typo
This commit is contained in:
parent
af5ddd9087
commit
0639d1eb7c
@ -5,7 +5,7 @@ export const getExtraSpeedMenuItemElements = async () => {
|
||||
const minValue = 0.0625
|
||||
const maxValue = 16
|
||||
|
||||
const getRecommandedValue = () => VideoSpeedController.supportedRates.slice(-1)[0] + stepValue
|
||||
const getRecommendedValue = () => VideoSpeedController.supportedRates.slice(-1)[0] + stepValue
|
||||
|
||||
const createExtendedSpeedMenuItemElement = (rate: number) => {
|
||||
const li = document.createElement("li")
|
||||
@ -27,7 +27,7 @@ export const getExtraSpeedMenuItemElements = async () => {
|
||||
|
||||
const createAddEntryElement = () => {
|
||||
const updateInput = (elem: HTMLInputElement) => {
|
||||
const value = getRecommandedValue().toString()
|
||||
const value = getRecommendedValue().toString()
|
||||
elem.setAttribute("min", value)
|
||||
elem.value = value
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user