Use new album.isSmartID to check if it's a smart album
This commit is contained in:
parent
5bbac75481
commit
9548f43b06
@ -187,7 +187,7 @@ lychee.load = function() {
|
||||
|
||||
// Show Album
|
||||
if (visible.photo()) view.photo.hide()
|
||||
if (visible.sidebar() && (albumID==='0' || albumID==='f' || albumID==='s' || albumID==='r')) sidebar.toggle()
|
||||
if (visible.sidebar() && album.isSmartID(albumID)) sidebar.toggle()
|
||||
if (album.json && albumID==album.json.id) view.album.title()
|
||||
else album.load(albumID)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user