projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
509a283
)
Roo/bootstrap/LayoutMasonry.js
author
Edward
<edward@roojs.com>
Tue, 18 Dec 2018 03:59:36 +0000
(11:59 +0800)
committer
Edward
<edward@roojs.com>
Tue, 18 Dec 2018 03:59:36 +0000
(11:59 +0800)
Roo/bootstrap/LayoutMasonry.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/LayoutMasonry.js
b/Roo/bootstrap/LayoutMasonry.js
index
7569d4a
..
7864971
100644
(file)
--- 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++){