fix window resize regression
This commit is contained in:
parent
bd50c75bb6
commit
84b818655e
3 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue