diff --git a/frontend/src/scripts/elements/custom-background-filter.ts b/frontend/src/scripts/elements/custom-background-filter.ts index b396a9089..9efdd6a3b 100644 --- a/frontend/src/scripts/elements/custom-background-filter.ts +++ b/frontend/src/scripts/elements/custom-background-filter.ts @@ -126,7 +126,7 @@ $(".section.customBackgroundFilter .save.button").click(() => { ConfigEvent.subscribe((eventKey, eventValue) => { if (eventKey === "customBackgroundFilter") { - loadConfig((eventValue as unknown as any[]).map((ev) => parseFloat(ev))); + loadConfig((eventValue as string[]).map((ev) => parseFloat(ev))); apply(); } });