load without sidebar

This commit is contained in:
j 2019-02-12 13:38:41 +05:30
parent 054edd8a41
commit 6115850f17
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ oml.ui.itemViewPanel = function() {
],
orientation: 'horizontal',
selected: ui.itemView,
size: window.innerWidth - ui.sidebarSize - 1
size: window.innerWidth - (ui.showSidebar ? ui.sidebarSize : 0) - 1
})
.bindEvent({
oml_itemview: function(data) {
@ -27,4 +27,4 @@ oml.ui.itemViewPanel = function() {
return that;
};
};