fix some onload errors

This commit is contained in:
rolux 2012-02-04 08:59:27 +00:00
parent 6e876c2b4d
commit f4ab2539be

View file

@ -1003,11 +1003,11 @@ pandora.resizeWindow = function() {
- Ox.UI.SCROLLBAR_SIZE - Ox.UI.SCROLLBAR_SIZE
}); });
} else if (pandora.user.ui.listView == 'map') { } else if (pandora.user.ui.listView == 'map') {
pandora.$ui.map.resizeMap(); pandora.$ui.map && pandora.$ui.map.resizeMap();
} else if (pandora.user.ui.listView == 'calendar') { } else if (pandora.user.ui.listView == 'calendar') {
pandora.$ui.calendar.resizeCalendar(); pandora.$ui.calendar && pandora.$ui.calendar.resizeCalendar();
} else { } else {
pandora.$ui.list.size(); pandora.$ui.list && pandora.$ui.list.size();
} }
} else { } else {
pandora.$ui.browser.scrollToSelection(); pandora.$ui.browser.scrollToSelection();