fix a bug where resizing the window in info view would cause an infinite loop

This commit is contained in:
rolux 2011-11-01 20:19:15 +00:00
parent 9beb75eab7
commit a887a319a1

View file

@ -815,7 +815,7 @@ pandora.resizeWindow = function() {
//Ox.print('pandora.$ui.window.resize'); //Ox.print('pandora.$ui.window.resize');
pandora.$ui.browser.scrollToSelection(); pandora.$ui.browser.scrollToSelection();
if (pandora.user.ui.itemView == 'info') { if (pandora.user.ui.itemView == 'info') {
pandora.$ui.info.resize(); pandora.$ui.item.resize();
} else if (pandora.user.ui.itemView == 'clips') { } else if (pandora.user.ui.itemView == 'clips') {
pandora.$ui.clipList.size(); pandora.$ui.clipList.size();
} else if (pandora.user.ui.itemView == 'video') { } else if (pandora.user.ui.itemView == 'video') {