From 4d94075cde9ef946361668a6712cee8c41603fcb Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 18 Dec 2018 11:49:02 +0800 Subject: [PATCH] Roo/bootstrap/LayoutMasonry.js --- Roo/bootstrap/LayoutMasonry.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Roo/bootstrap/LayoutMasonry.js b/Roo/bootstrap/LayoutMasonry.js index c923e5e2db..5f2d37aa32 100644 --- a/Roo/bootstrap/LayoutMasonry.js +++ b/Roo/bootstrap/LayoutMasonry.js @@ -242,8 +242,7 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, { this.colWidth = boxWidth + avail - this.padWidth; this.unitWidth = Math.round((this.colWidth - (this.gutter * 2)) / 3); - Roo.log(this.unitWidth); - alert(this.unitWidth); + this.unitHeight = this.boxHeight > 0 ? this.boxHeight : this.unitWidth; }, -- 2.39.2