Remove button highlight on disabling button (i.e. blur)

This commit is contained in:
Henrik Giesel 2021-02-28 15:00:42 +01:00
parent a8bde2d13c
commit 29742122d2

View File

@ -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")
);