forked from 0x2620/pandora
minor fixes
This commit is contained in:
parent
aafb513492
commit
5f8fe066b9
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ pandora.ui.filterDialog = function() {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
content: pandora.$ui.filter = new pandora.ui.filter().css({padding: '16px'}),
|
content: pandora.$ui.filter = pandora.ui.filter().css({padding: '16px'}),
|
||||||
maxWidth: 648 + Ox.UI.SCROLLBAR_SIZE,
|
maxWidth: 648 + Ox.UI.SCROLLBAR_SIZE,
|
||||||
minHeight: 264,
|
minHeight: 264,
|
||||||
minWidth: 648 + Ox.UI.SCROLLBAR_SIZE,
|
minWidth: 648 + Ox.UI.SCROLLBAR_SIZE,
|
||||||
|
|
|
@ -24,7 +24,7 @@ pandora.ui.leftPanel = function() {
|
||||||
resize: function(event, data) {
|
resize: function(event, data) {
|
||||||
Ox.print('LEFT PANEL RESIZE')
|
Ox.print('LEFT PANEL RESIZE')
|
||||||
var infoSize = Math.round(data / pandora.user.infoRatio);
|
var infoSize = Math.round(data / pandora.user.infoRatio);
|
||||||
pandora.user.ui.sidebarSize = data;
|
pandora.UI.set('sidebarSize', data);
|
||||||
if (data < pandora.site.sectionButtonsWidth && pandora.$ui.sectionButtons) {
|
if (data < pandora.site.sectionButtonsWidth && pandora.$ui.sectionButtons) {
|
||||||
pandora.$ui.sectionButtons.removeElement();
|
pandora.$ui.sectionButtons.removeElement();
|
||||||
delete pandora.$ui.sectionButtons;
|
delete pandora.$ui.sectionButtons;
|
||||||
|
|
Loading…
Reference in a new issue