From 8c3d089bd8dfc2596e74b7e4e7b2eb5ec1b5338a Mon Sep 17 00:00:00 2001 From: j Date: Tue, 27 Jun 2023 19:33:21 +0530 Subject: [PATCH] pandora..browser might be undefined --- static/js/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/utils.js b/static/js/utils.js index 1e8c7412..e3fcc777 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -3234,11 +3234,11 @@ pandora.updateItemContext = function() { pandora.$ui.contentPanel.replaceElement( 0, pandora.$ui.browser = pandora.ui.browser() ); - } else { + } else if (pandora.$ui.browser) { pandora.$ui.browser.reloadList(); } }); - } else { + } else if (pandora.$ui.browser) { pandora.$ui.browser.reloadList(); } };