Trigger widget's resize only if there's excess_height

This commit is contained in:
Hadi Nategh 2015-05-05 12:39:11 +00:00
parent cdd04a674f
commit c1943235b1

View File

@ -155,7 +155,7 @@ etemplate2.prototype.resize = function(e)
// "IResizeable" interface
self.widgetContainer.iterateOver(function(_widget) {
_widget.resize(excess_height);
if (excess_height != 0) _widget.resize(excess_height);
}, self, et2_IResizeable);
}
},100);