From 29742122d22e8bdec26d6c5341d76576a94e05fb Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Sun, 28 Feb 2021 15:00:42 +0100 Subject: [PATCH] Remove button highlight on disabling button (i.e. blur) --- ts/editor/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/editor/index.ts b/ts/editor/index.ts index b826fd075..3e02ffa43 100644 --- a/ts/editor/index.ts +++ b/ts/editor/index.ts @@ -115,7 +115,7 @@ export function setFields(fields: [string, string][]): void { ); } -export function setBackgrounds(cols: ("dupe" | "")[]) { +export function setBackgrounds(cols: ("dupe" | "")[]): void { forEditorField(cols, (field, value) => field.editingArea.classList.toggle("dupe", value === "dupe") );