Commit 8974b7c2 authored by Tobias Reich's avatar Tobias Reich
Browse files

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

parent fde153d0
......@@ -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();
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment