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