avoid error if switching quickly between videos and edits
This commit is contained in:
parent
fd294baec9
commit
11c8bb9076
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ pandora.ui.folderList = function(id, section) {
|
|||
}
|
||||
},
|
||||
init: function(data) {
|
||||
if (pandora.site.sectionFolders[section][i]) {
|
||||
if (pandora.site.sectionFolders[section][i] && pandora.$ui.folder[i] && pandora.$ui.folderList[id]) {
|
||||
pandora.site.sectionFolders[section][i].items = data.items;
|
||||
pandora.$ui.folder[i].$content.css({
|
||||
height: (data.items || 1) * 16 + 'px'
|
||||
|
|
Loading…
Reference in a new issue