fix window resize regression

This commit is contained in:
rlx 2016-01-12 19:11:52 +05:30
commit 84b818655e
3 changed files with 5 additions and 5 deletions

View file

@ -37,9 +37,9 @@ oml.ui.viewPanel = function() {
return window.innerWidth - ui.showSidebar * ui.sidebarSize - 1;
}
//that.updateElement = function() {
// return that.triggerEvent('resize', {size: getSize()});
//};
that.updateElement = function() {
return that.triggerEvent('resize', {size: getSize()});
};
return that;