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