Exit immediately if its an old response.
This commit is contained in:
parent
567f38e88b
commit
a97206a715
@ -49,13 +49,14 @@ $(document).ready(function() {
|
||||
});
|
||||
}
|
||||
function albumLoaded(album) {
|
||||
if (cachePath(album.path) != current_album_cache)
|
||||
return;
|
||||
undie();
|
||||
$("#loading").hide();
|
||||
album_cache[cachePath(album.path)] = album;
|
||||
current_album = album;
|
||||
if (current_photo_cache != null)
|
||||
showPhoto();
|
||||
if (cachePath(album.path) == current_album_cache)
|
||||
showAlbum(true);
|
||||
setTitle();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user