load without sidebar
This commit is contained in:
parent
054edd8a41
commit
6115850f17
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue