Fixed a caching-bug where it wasn't possible to return from search
This commit is contained in:
parent
e6c109269e
commit
6855f27893
BIN
dist/main.js
vendored
BIN
dist/main.js
vendored
Binary file not shown.
@ -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…
Reference in New Issue
Block a user