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

index d2f53f7..7864971 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) {
-                    b.el.setWidth(width);
-                    b.el.setHeight(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);