X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FLayoutMasonry.js;h=0b082f79d6dd8d03ea9986c83732140f167f9a44;hb=05d4479b42d7cf53ba7a700636903c81ff49d9a7;hp=687a5ffcfded7c30bdd6ff13c9586f50b0640532;hpb=d9474741d9d089ae82be354937fcc88d47ad7d1e;p=roojs1 diff --git a/Roo/bootstrap/LayoutMasonry.js b/Roo/bootstrap/LayoutMasonry.js index 687a5ffcfd..0b082f79d6 100644 --- a/Roo/bootstrap/LayoutMasonry.js +++ b/Roo/bootstrap/LayoutMasonry.js @@ -663,14 +663,11 @@ Roo.extend(Roo.bootstrap.LayoutMasonry, Roo.bootstrap.Component, { b.el.setWidth(width); b.el.setHeight(height); - // iframe? - b.el.select('iframe',true).setSize(width,height); - - if(k == 0) { - console.log(b.el.getWidth()); - alert(JSON.stringify(b.el.getWidth())); - } + b.el.select('iframe',true).first().set('width', width); + b.el.select('iframe',true).first().set(height); + // iframe? +// b.el.select('iframe',true).setSize(width,height); }, this);