From f65336c28d8300cfe286baa0e4379b85e5339d64 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 27 Jun 2023 12:45:15 +0530 Subject: [PATCH] list might not exist --- static/js/mainPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/mainPanel.js b/static/js/mainPanel.js index 7213ae59..adc10947 100644 --- a/static/js/mainPanel.js +++ b/static/js/mainPanel.js @@ -78,7 +78,7 @@ pandora.ui.mainPanel = function() { if (['clips', 'clip'].indexOf(ui.listView) > -1) { pandora.$ui.list.options({find: ui.itemFind}); } - pandora.$ui.list.reloadList(); + pandora.$ui.list && pandora.$ui.list.reloadList(); } // FIXME: why is this being handled _here_? ui._filterState.forEach(function(data, i) {