Fix problem when changing view
This commit is contained in:
1 parent
c8847a1a3f
commit
dfdfe8e504
1 file changed
+1
-1
+1
-1
@@ -52,7 +52,7 @@ class LayoutCard extends Polymer.Element {
|
||||
}
|
||||
|
||||
_updateColumns() {
|
||||
if (this.parentElement.id === "view")
|
||||
if (this.parentElement && this.parentElement.id === "view")
|
||||
{
|
||||
this.style.padding = "8px 4px 0";
|
||||
this.style.display = "block";
|
||||
|
||||
Reference in new issue
Block a user