forked from 0x2620/pandora
more missing panels with early resize
This commit is contained in:
parent
69fae04bb8
commit
345195e959
1 changed files with 2 additions and 2 deletions
|
@ -3002,7 +3002,7 @@ pandora.resizeWindow = function() {
|
|||
pandora.resizeFolders();
|
||||
if (pandora.user.ui.section == 'items') {
|
||||
if (!pandora.user.ui.item) {
|
||||
pandora.resizeFilters(pandora.$ui.rightPanel.width());
|
||||
pandora.$ui.rightPanel && pandora.resizeFilters(pandora.$ui.rightPanel.width());
|
||||
if (pandora.user.ui.listView == 'clips') {
|
||||
var clipsItems = pandora.getClipsItems(),
|
||||
previousClipsItems = pandora.getClipsItems(
|
||||
|
@ -3064,7 +3064,7 @@ pandora.resizeWindow = function() {
|
|||
}
|
||||
}
|
||||
} else if (pandora.user.ui.section == 'documents') {
|
||||
pandora.resizeFilters(pandora.$ui.documentPanel.width());
|
||||
pandora.$ui.documentPanel && pandora.resizeFilters(pandora.$ui.documentPanel.width());
|
||||
if (pandora.user.ui.document) {
|
||||
pandora.$ui.document && pandora.$ui.document.update();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue