diff --git a/ignite-template.js b/ignite-template.js index e547a7f..c275e52 100644 --- a/ignite-template.js +++ b/ignite-template.js @@ -2612,15 +2612,13 @@ class converter extends IgniteTemplate { if (child instanceof IgniteTemplate) { this.child = child; - - this.child.construct(null, this.element); } else if (child) { this.child = new html(child); - - this.child.construct(null, this.element); } else { this.child = null; } + + this.construct(null, null); } onConverterChanged(newConverter) { @@ -2638,15 +2636,13 @@ class converter extends IgniteTemplate { if (child instanceof IgniteTemplate) { this.child = child; - - this.child.construct(null, this.element); } else if (child) { this.child = new html(child); - - this.child.construct(null, this.element); } else { this.child = null; } + + this.construct(null, null); } }