Fixed a caching-bug where it wasn't possible to return from search

pull/273/head
Tobias Reich 10 years ago
parent e6c109269e
commit 6855f27893

2
dist/main.js vendored

File diff suppressed because one or more lines are too long

@ -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();

Loading…
Cancel
Save