mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Make prettier happy
This commit is contained in:
parent
4f8f5ae0c4
commit
1a1a0fab94
1 changed files with 1 additions and 2 deletions
|
@ -3871,8 +3871,7 @@ export function setmode(mode: string, key: string, ...values: string[]) {
|
|||
if (!mode || !key || !values.length) {
|
||||
throw new Error("seturl syntax: mode key value")
|
||||
}
|
||||
if (key !== "allowautofocus")
|
||||
throw new Error("Setting '" + key + "' not supported with setmode")
|
||||
if (key !== "allowautofocus") throw new Error("Setting '" + key + "' not supported with setmode")
|
||||
|
||||
return config.set("modesubconfigs", mode, ...validateSetArgs(key, values))
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue