From 3757b76848fb9a73d9d80c8a763e23b71257b6b6 Mon Sep 17 00:00:00 2001 From: Miodec Date: Mon, 8 Aug 2022 16:41:53 +0200 Subject: [PATCH] fixed removing custom background url not removing custom background closes #3378 --- frontend/src/ts/elements/commandline-lists.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/elements/commandline-lists.ts b/frontend/src/ts/elements/commandline-lists.ts index 57ece8516..22aaae274 100644 --- a/frontend/src/ts/elements/commandline-lists.ts +++ b/frontend/src/ts/elements/commandline-lists.ts @@ -3085,7 +3085,7 @@ export const defaultCommands: MonkeyTypes.CommandsGroup = { defaultValue: "", input: true, exec: (input): void => { - if (!input) return; + if (!input) input = ""; UpdateConfig.setCustomBackground(input); }, },