Fix embarasing mistake. Don't look at the diff - there's nothing
interesting there. Promise
This commit is contained in:
parent
572d9ebab9
commit
7db164aac9
@ -69,7 +69,7 @@ class LayoutCard extends Polymer.Element {
|
|||||||
numcols = Math.max(1,
|
numcols = Math.max(1,
|
||||||
this.$ ? Math.floor(this.$.columns.clientWidth/this.config.column_width) : 0);
|
this.$ ? Math.floor(this.$.columns.clientWidth/this.config.column_width) : 0);
|
||||||
}
|
}
|
||||||
numcols = Math.max(numcols, this.config.max_columns);
|
numcols = Math.min(numcols, this.config.max_columns);
|
||||||
if(numcols != this.colnum) {
|
if(numcols != this.colnum) {
|
||||||
this.colnum = numcols;
|
this.colnum = numcols;
|
||||||
this._build();
|
this._build();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user