diff --git a/dist/main.js b/dist/main.js index 96663fb..bd43b85 100644 Binary files a/dist/main.js and b/dist/main.js differ diff --git a/src/scripts/lychee.js b/src/scripts/lychee.js index 085ee20..239e4c8 100644 --- a/src/scripts/lychee.js +++ b/src/scripts/lychee.js @@ -222,10 +222,15 @@ lychee.load = function() { } else { + // Trash albums.json when filled with search results + if (search.code!=='') { + albums.json = null; + search.code = ''; + } + // Trash data album.json = null; photo.json = null; - search.code = ''; // Show Albums if (visible.album()) view.album.hide();