diff --git a/src/components/html/HTML.js b/src/components/html/HTML.js
index 9ff661a67e..8cfef3a148 100644
--- a/src/components/html/HTML.js
+++ b/src/components/html/HTML.js
@@ -99,8 +99,8 @@ export default class HTMLComponent extends Component {
attach(element) {
this.loadRefs(element, { html: 'single' });
this.dataReady.then(() => {
- if (this.element) {
- this.setContent(this.elemet, this.content);
+ if (this.refs.html) {
+ this.setContent(this.refs.html, this.content);
}
});
return super.attach(element);