Fixed a bug where the albums-separator showed up without albums

pull/273/head
Tobias Reich 10 years ago
parent e3fe5042dc
commit 47f4837f0c

8
dist/main.js vendored

File diff suppressed because one or more lines are too long

@ -151,7 +151,7 @@ view.albums = {
if (!lychee.publicMode) smartData = build.divider('Smart Albums') + build.album(albums.json.unsortedAlbum) + build.album(albums.json.starredAlbum) + build.album(albums.json.publicAlbum) + build.album(albums.json.recentAlbum);
/* Albums */
if (albums.json.content) {
if (albums.json.content&&albums.json.num!==0) {
$.each(albums.json.content, function() {
albums.parse(this);

Loading…
Cancel
Save