Fixed a bug with the back button and zero public listed albums

This commit is contained in:
Tobias Reich 2014-07-21 22:46:37 +02:00
parent fde153d004
commit 8974b7c2aa
2 changed files with 7 additions and 3 deletions

View File

@ -144,8 +144,12 @@ view = {
} }
if (smartData===""&&albumsData==="") $("body").append(build.no_content("picture")); if (smartData===""&&albumsData==="") {
else lychee.content.html(smartData + albumsData); lychee.content.html('');
$("body").append(build.no_content("picture"));
} else {
lychee.content.html(smartData + albumsData);
}
$("img[data-type!='nonretina']").retina(); $("img[data-type!='nonretina']").retina();

File diff suppressed because one or more lines are too long