Fix embarasing mistake. Don't look at the diff - there's nothing

interesting there. Promise
This commit is contained in:
Thomas Lovén 2018-11-11 21:17:28 +01:00
parent 572d9ebab9
commit 7db164aac9

View File

@ -69,7 +69,7 @@ class LayoutCard extends Polymer.Element {
numcols = Math.max(1,
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) {
this.colnum = numcols;
this._build();