Update src/panels/lovelace/components/hui-code-editor.ts

Co-Authored-By: bramkragten <mail@bramkragten.nl>
This commit is contained in:
Paulus Schoutsen 2019-01-28 19:30:51 +01:00 committed by GitHub
parent d2bfd5ce62
commit 20ecfffb9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ export class HuiCodeEditor extends HTMLElement {
}
private _onChange() {
fireEvent(_this, "code-changed", { value: _this.codemirror.getValue() });
fireEvent(this, "code-changed", { value: this.codemirror.getValue() });
}
}