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

index 48db46a..0a38a7a 100644 (file)
@@ -664,8 +664,8 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component,  {
                 b.el.setWidth(width);
                 b.el.setHeight(height);
                 
-                b.el.select('iframe',true).first().set('width', width);
-                b.el.select('iframe',true).first().set('height', height);
+                b.el.select('iframe',true).set('width', width);
+                b.el.select('iframe',true).set('height', height);
                 // iframe?
 //                b.el.select('iframe',true).setSize(width,height);