minor fixes

This commit is contained in:
rolux 2011-09-08 08:17:39 +00:00
parent aafb513492
commit 5f8fe066b9
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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;