From: Edward Date: Tue, 18 Dec 2018 04:05:54 +0000 (+0800) Subject: Roo/bootstrap/LayoutMasonry.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=598a776a3392ee061e7cbd9610310c387b24f073 Roo/bootstrap/LayoutMasonry.js --- diff --git a/Roo/bootstrap/LayoutMasonry.js b/Roo/bootstrap/LayoutMasonry.js index d2f53f7e76..7864971314 100644 --- a/Roo/bootstrap/LayoutMasonry.js +++ b/Roo/bootstrap/LayoutMasonry.js @@ -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);