Roo/bootstrap/LayoutMasonry.js
[roojs1] / Roo / bootstrap / LayoutMasonry.js
index 64b4e44..53b18fb 100644 (file)
@@ -226,7 +226,7 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
         if(this.containerWidth < this.boxWidth){
             boxWidth = this.containerWidth
         }
-        alert(boxWidth);
+        
         var containerWidth = this.containerWidth;
         
         var cols = Math.floor(containerWidth / boxWidth);
@@ -651,6 +651,10 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
             
             Roo.each(box, function(b,kk){
                 
+                if(b.videourl && b.videourl.length) {
+                    
+                }
+                
                 b.el.position('absolute');
                 
                 var width = Math.floor(this.unitWidth * b.x + (this.gutter * (b.x - 1)) + b.el.getPadding('lr'));