forked from 0x2620/pandora
avoid JS error on application reload
This commit is contained in:
parent
f381c6d786
commit
f20b48d50a
1 changed files with 1 additions and 1 deletions
|
@ -1629,7 +1629,7 @@ pandora.resizeFolders = function(section) {
|
||||||
pandora.$ui.folder[pos].css({width: width + 'px'});
|
pandora.$ui.folder[pos].css({width: width + 'px'});
|
||||||
$list.css({width: width + 'px'});
|
$list.css({width: width + 'px'});
|
||||||
if (pandora.site.sectionFolders[section][pos].showBrowser) {
|
if (pandora.site.sectionFolders[section][pos].showBrowser) {
|
||||||
pandora.$ui.findListInput[id].options({
|
pandora.$ui.findListInput[id] && pandora.$ui.findListInput[id].options({
|
||||||
width: width - 24
|
width: width - 24
|
||||||
});
|
});
|
||||||
$list.resizeColumn('user', userColumnWidth)
|
$list.resizeColumn('user', userColumnWidth)
|
||||||
|
|
Loading…
Reference in a new issue