add placeholders for empty folders, fixes #250
This commit is contained in:
parent
3c1d3bbcb2
commit
f8890ed015
6 changed files with 61 additions and 17 deletions
|
|
@ -991,7 +991,7 @@ pandora.getFoldersHeight = function(section) {
|
|||
var height = 0;
|
||||
pandora.site.sectionFolders[section].forEach(function(folder, i) {
|
||||
height += 16 + pandora.user.ui.showFolder[section][folder.id] * (
|
||||
!!folder.showBrowser * 40 + folder.items * 16
|
||||
!!(folder.showBrowser && folder.items) * 40 + (folder.items || 1) * 16
|
||||
);
|
||||
});
|
||||
return height;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue