From ee5ca8a54e6c3a94371798afef20788610922c50 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 27 Jun 2019 22:44:34 +0200 Subject: [PATCH] remove unused resize code --- static/js/documentBrowser.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/static/js/documentBrowser.js b/static/js/documentBrowser.js index 411666a87..0895b8fcb 100644 --- a/static/js/documentBrowser.js +++ b/static/js/documentBrowser.js @@ -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 {