mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Update src/panels/lovelace/components/hui-code-editor.ts
Co-Authored-By: bramkragten <mail@bramkragten.nl>
This commit is contained in:
parent
644af4d009
commit
d2bfd5ce62
@ -55,7 +55,7 @@ export class HuiCodeEditor extends HTMLElement {
|
|||||||
mode: "yaml",
|
mode: "yaml",
|
||||||
tabSize: 2,
|
tabSize: 2,
|
||||||
});
|
});
|
||||||
this.codemirror.on("changes", this._onChange);
|
this.codemirror.on("changes", () => this._onChange());
|
||||||
} else {
|
} else {
|
||||||
this.codemirror.refresh();
|
this.codemirror.refresh();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user