Trigger widget's resize only if there's excess_height

This commit is contained in:
Hadi Nategh 2015-05-05 12:38:11 +00:00
parent ad34d20080
commit 211efdda68

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);