From 9548f43b0652b9900f1acd7faf41d728cb930b66 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Mon, 22 Aug 2016 14:06:54 +0200 Subject: [PATCH] Use new album.isSmartID to check if it's a smart album --- src/scripts/lychee.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/lychee.js b/src/scripts/lychee.js index 027b368..868115e 100644 --- a/src/scripts/lychee.js +++ b/src/scripts/lychee.js @@ -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)