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

pull/208/head
Tobias Reich 10 years ago
parent fde153d004
commit 8974b7c2aa

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

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save