handle embed case in pandora.resizeWindow

This commit is contained in:
rolux 2013-02-22 02:26:21 +00:00
parent b923aab424
commit 405080d73c

View file

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