forked from 0x2620/pandora
handle embed case in pandora.resizeWindow
This commit is contained in:
parent
b923aab424
commit
405080d73c
1 changed files with 4 additions and 0 deletions
|
@ -1222,6 +1222,10 @@ pandora.resizeFolders = function() {
|
|||
};
|
||||
|
||||
pandora.resizeWindow = function() {
|
||||
if (pandora.$ui.embedPanel) {
|
||||
pandora.$ui.embedPanel.resizePanel();
|
||||
return;
|
||||
}
|
||||
// FIXME: a lot of this throws errors on load
|
||||
pandora.$ui.leftPanel && pandora.$ui.leftPanel.size(2, pandora.getInfoHeight(true));
|
||||
pandora.resizeFolders();
|
||||
|
|
Loading…
Reference in a new issue