From f20b48d50a6137826c9831583890341346bb6a72 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 22 Jul 2013 13:14:58 +0000 Subject: [PATCH] avoid JS error on application reload --- static/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index 295a2c2c..77f43ec6 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -1629,7 +1629,7 @@ pandora.resizeFolders = function(section) { pandora.$ui.folder[pos].css({width: width + 'px'}); $list.css({width: width + 'px'}); if (pandora.site.sectionFolders[section][pos].showBrowser) { - pandora.$ui.findListInput[id].options({ + pandora.$ui.findListInput[id] && pandora.$ui.findListInput[id].options({ width: width - 24 }); $list.resizeColumn('user', userColumnWidth)