Roo/bootstrap/LayoutMasonry.js
authoredward <edward@roojs.com>
Thu, 28 Dec 2017 05:02:11 +0000 (13:02 +0800)
committeredward <edward@roojs.com>
Thu, 28 Dec 2017 05:02:11 +0000 (13:02 +0800)
Roo/bootstrap/LayoutMasonry.js

index fe6c698..621b0f2 100644 (file)
@@ -249,30 +249,20 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
     {
         this.getContainerWidth();
         
-        Roo.log('this.containerWidth : ' + this.containerWidth);
-        
         var boxWidth = this.boxWidth;
         
-        Roo.log('this.boxWidth : ' + this.boxWidth);
-        
         if(this.containerWidth < boxWidth){
             boxWidth = this.containerWidth;
         }
         
-        Roo.log('boxWidth : ' + boxWidth);
-        
         this.unitWidth = Math.floor((boxWidth - (this.gutter * 2)) / 3);
         
-        Roo.log('this.unitWidth : ' + this.unitWidth);
-        
         this.el.setHeight(boxWidth);
         
     },
     
     getContainerWidth : function()
     {
-        Roo.log(this.el);
-        Roo.log(this.el.getBox(true));
         this.containerWidth = this.el.getBox(true).width;  //maybe use getComputedWidth
     },