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

index 799fdb0..20e8699 100644 (file)
@@ -661,13 +661,8 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
                     height = Math.floor(this.unitHeight * (b.y - 1) + (this.gutter * (b.y - 2)) + b.el.getPadding('tb'));
                 }
                 
-                if(b.videourl && b.videourl.length) {
-                    console.log([width, height]);
-                    alert([width, height]);
-                }
-                
-                b.el.setWidth(width);
-                b.el.setHeight(height);
+//                b.el.setWidth(width);
+//                b.el.setHeight(height);
                 // iframe?
                 b.el.select('iframe',true).setSize(width,height);