mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Remove button highlight on disabling button (i.e. blur)
This commit is contained in:
parent
a8bde2d13c
commit
29742122d2
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue