projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa1e8a3
)
Roo/bootstrap/LayoutMasonry.js
author
Edward
<edward@roojs.com>
Tue, 18 Dec 2018 03:49:02 +0000
(11:49 +0800)
committer
Edward
<edward@roojs.com>
Tue, 18 Dec 2018 03:49:02 +0000
(11:49 +0800)
Roo/bootstrap/LayoutMasonry.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/LayoutMasonry.js
b/Roo/bootstrap/LayoutMasonry.js
index
c923e5e
..
5f2d37a
100644
(file)
--- 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;
},