Roo/bootstrap/LayoutMasonry.js
authorEdward <edward@roojs.com>
Tue, 18 Dec 2018 04:07:21 +0000 (12:07 +0800)
committerEdward <edward@roojs.com>
Tue, 18 Dec 2018 04:07:21 +0000 (12:07 +0800)
Roo/bootstrap/LayoutMasonry.js

index 7864971..bb90785 100644 (file)
@@ -683,6 +683,10 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
             
             y = maxY[col];
             
+            if(k == 0) {
+                console.log([x, y]);
+                alert([x, y]);
+            }
             var positions = [];
             
             switch (box.length){