Fixed a bug with the back button and zero public listed albums
This commit is contained in:
parent
fde153d004
commit
8974b7c2aa
@ -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
Loading…
Reference in New Issue
Block a user