fix a potential JS error when resizing on load
This commit is contained in:
parent
c6cab8334c
commit
8c5f173b21
1 changed files with 1 additions and 1 deletions
|
@ -1530,7 +1530,7 @@ pandora.resizeFolders = function() {
|
|||
),
|
||||
userColumnWidth = Math.round(columnWidth * 0.4),
|
||||
nameColumnWidth = columnWidth - userColumnWidth;
|
||||
pandora.$ui.allItems.resizeElement(columnWidth - 8);
|
||||
pandora.$ui.allItems && pandora.$ui.allItems.resizeElement(columnWidth - 8);
|
||||
Ox.forEach(pandora.$ui.folderList, function($list, id) {
|
||||
var pos = Ox.getIndexById(pandora.site.sectionFolders[pandora.user.ui.section], id);
|
||||
pandora.$ui.folder[pos].css({width: width + 'px'});
|
||||
|
|
Loading…
Reference in a new issue