From 05d4479b42d7cf53ba7a700636903c81ff49d9a7 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 18 Dec 2018 12:57:10 +0800 Subject: [PATCH] Roo/bootstrap/LayoutMasonry.js --- Roo/bootstrap/LayoutMasonry.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Roo/bootstrap/LayoutMasonry.js b/Roo/bootstrap/LayoutMasonry.js index 281ec2dd47..0b082f79d6 100644 --- a/Roo/bootstrap/LayoutMasonry.js +++ b/Roo/bootstrap/LayoutMasonry.js @@ -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).set('width', width); - b.el.select('iframe',true).set(height); + 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); -- 2.39.2