From a5979abe7a2e2196f6ff80ad15cfb5e6dfbe4c6b Mon Sep 17 00:00:00 2001 From: Miodec Date: Tue, 2 Aug 2022 21:02:44 +0200 Subject: [PATCH] typo --- frontend/src/ts/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/config.ts b/frontend/src/ts/config.ts index 9b1e2ed7e..ce7805e12 100644 --- a/frontend/src/ts/config.ts +++ b/frontend/src/ts/config.ts @@ -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;