From b25368fddb22a62515697c132c32868b47373ddd Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 18 Dec 2018 11:59:36 +0800 Subject: [PATCH] Roo/bootstrap/LayoutMasonry.js --- Roo/bootstrap/LayoutMasonry.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/Roo/bootstrap/LayoutMasonry.js b/Roo/bootstrap/LayoutMasonry.js index 7569d4a4ce..7864971314 100644 --- a/Roo/bootstrap/LayoutMasonry.js +++ b/Roo/bootstrap/LayoutMasonry.js @@ -242,7 +242,6 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, { this.colWidth = boxWidth + avail - this.padWidth; this.unitWidth = Math.round((this.colWidth - (this.gutter * 2)) / 3); - this.unitHeight = this.boxHeight > 0 ? this.boxHeight : this.unitWidth; }, @@ -640,8 +639,6 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, { var pos = this.el.getBox(true); var x = pos.x; var y = pos.y; - Roo.log(pos); - alert(JSON.stringify(pos)); var maxY = []; for (var i = 0; i < this.cols; i++){ -- 2.39.2