mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-22 16:26:18 +08:00
typo
This commit is contained in:
parent
26b72d6b6c
commit
a5979abe7a
|
@ -1632,7 +1632,7 @@ export function setCustomBackground(value: string, nosave?: boolean): boolean {
|
|||
(/(https|http):\/\/(www\.|).+\..+\/.+(\.png|\.gif|\.jpeg|\.jpg)/gi.test(
|
||||
value
|
||||
) &&
|
||||
!/[<> "]/.test(value)||
|
||||
!/[<> "]/.test(value)) ||
|
||||
value == ""
|
||||
) {
|
||||
config.customBackground = value;
|
||||
|
|
Loading…
Reference in a new issue