projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7719da5
)
Roo/bootstrap/LayoutMasonry.js
author
Alan Knowles
<alan@roojs.com>
Tue, 20 Oct 2015 10:30:13 +0000
(18:30 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 20 Oct 2015 10:30:13 +0000
(18:30 +0800)
Roo/bootstrap/LayoutMasonry.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/LayoutMasonry.js
b/Roo/bootstrap/LayoutMasonry.js
index
6272686
..
b7f7ec8
100644
(file)
--- a/
Roo/bootstrap/LayoutMasonry.js
+++ b/
Roo/bootstrap/LayoutMasonry.js
@@
-264,7
+264,7
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
var totalColWidth = this.cols * this.columnWidth;
var padavail = this.containerWidth - totalColWidth;
// so for 2 columns - we need 3 'pads'
- this.padWidth = Math.floor(padavail ( this.cols + 1));
+ this.padWidth = Math.floor(padavail
/
( this.cols + 1));
},