Reset height when not observing (#949)

This commit is contained in:
Paulus Schoutsen 2018-02-27 19:05:07 -08:00 committed by GitHub
parent 5296dcfe85
commit f75147c799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,7 @@ class HaCardChooser extends Polymer.Element {
this.observer.unobserve(this);
this.observer = null;
}
this.style.height = '';
this._updateCard(newData);
return;
}