remove unused resize code

This commit is contained in:
j 2019-06-27 22:44:34 +02:00
parent 6fb9aee717
commit ee5ca8a54e

View file

@ -27,13 +27,6 @@ pandora.ui.documentBrowser = function() {
pandora.$ui.documentFilters.forEach(function(list) {
list.size();
});
if (pandora.user.ui.listView == 'map') {
pandora.$ui.map.resizeMap();
} else if (pandora.user.ui.listView == 'calendar') {
pandora.$ui.calendar.resizeCalendar();
} else if (pandora.user.ui.listView == 'video') {
pandora.$ui.list.size();
}
},
resizeend: function(data) {
pandora.UI.set({documentFiltersSize: data.size});
@ -57,13 +50,6 @@ pandora.ui.documentBrowser = function() {
});
pandora.$ui.documentFilters.updateMenus();
}
if (pandora.user.ui.listView == 'map') {
pandora.$ui.map.resizeMap();
} else if (pandora.user.ui.listView == 'calendar') {
pandora.$ui.calendar.resizeCalendar();
} else if (pandora.user.ui.listView == 'video') {
pandora.$ui.list.size();
}
}
});
} else {