projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34d86ea
)
Roo/bootstrap/LayoutMasonry.js
author
edward
<edward@roojs.com>
Mon, 18 Dec 2017 08:08:41 +0000
(16:08 +0800)
committer
edward
<edward@roojs.com>
Mon, 18 Dec 2017 08:08:41 +0000
(16:08 +0800)
Roo/bootstrap/LayoutMasonry.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/LayoutMasonry.js
b/Roo/bootstrap/LayoutMasonry.js
index
67cb252
..
27009e1
100644
(file)
--- a/
Roo/bootstrap/LayoutMasonry.js
+++ b/
Roo/bootstrap/LayoutMasonry.js
@@
-226,9
+226,9
@@
Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, {
}
var containerWidth = this.containerWidth;
- Roo.log(this.containerWidth);
- var cols = Math.floor(containerWidth / boxWidth);
+ var cols = Math.floor(containerWidth / boxWidth);
+ Roo.log(cols);
this.cols = Math.max( cols, 1 );
this.cols = this.maxCols > 0 ? Math.min( this.cols, this.maxCols ) : this.cols;