forked from 0x2620/pandora
fix some onload errors
This commit is contained in:
parent
6e876c2b4d
commit
f4ab2539be
1 changed files with 3 additions and 3 deletions
|
@ -1003,11 +1003,11 @@ pandora.resizeWindow = function() {
|
|||
- Ox.UI.SCROLLBAR_SIZE
|
||||
});
|
||||
} 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') {
|
||||
pandora.$ui.calendar.resizeCalendar();
|
||||
pandora.$ui.calendar && pandora.$ui.calendar.resizeCalendar();
|
||||
} else {
|
||||
pandora.$ui.list.size();
|
||||
pandora.$ui.list && pandora.$ui.list.size();
|
||||
}
|
||||
} else {
|
||||
pandora.$ui.browser.scrollToSelection();
|
||||
|
|
Loading…
Reference in a new issue