Exit immediately if its an old response.
This commit is contained in:
parent
567f38e88b
commit
a97206a715
@ -49,14 +49,15 @@ $(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);
|
||||
showAlbum(true);
|
||||
setTitle();
|
||||
}
|
||||
function trimExtension(title) {
|
||||
|
Loading…
Reference in New Issue
Block a user