projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd61541
)
Roo/bootstrap/LayoutMasonry.js
author
edward
<edward@roojs.com>
Mon, 18 Dec 2017 08:11:31 +0000
(16:11 +0800)
committer
edward
<edward@roojs.com>
Mon, 18 Dec 2017 08:11:31 +0000
(16:11 +0800)
Roo/bootstrap/LayoutMasonry.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/LayoutMasonry.js
b/Roo/bootstrap/LayoutMasonry.js
index
60e6f8b
..
bb78507
100644
(file)
--- a/
Roo/bootstrap/LayoutMasonry.js
+++ b/
Roo/bootstrap/LayoutMasonry.js
@@
-235,7
+235,7
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
var totalBoxWidth = this.cols * boxWidth - this.padWidth;
Roo.log(totalBoxWidth);
- var avail =
Math.floor((containerWidth - totalBoxWidth) / this.cols)
;
+ var avail =
(containerWidth - totalBoxWidth) / this.cols
;
Roo.log(avail);
this.colWidth = boxWidth + avail - this.padWidth;
Roo.log(this.colWidth);