fix es6 compilation for Element.remove.
Use DOM facade to delete an Element since the remove method is only in Dart.
This commit is contained in:
parent
642e9a36b7
commit
56906db4d5
|
@ -325,7 +325,7 @@ class BaseLineIf {
|
|||
if (this.condition !== newCondition) {
|
||||
this.condition = newCondition;
|
||||
if (isPresent(this.component)) {
|
||||
this.component.element.remove();
|
||||
DOM.remove(this.component.element);
|
||||
this.component = null;
|
||||
}
|
||||
if (this.condition) {
|
||||
|
|
Loading…
Reference in New Issue