Show image before album. Loads image faster when using direct image URL.
This commit is contained in:
parent
ba69da0fde
commit
20fe79eb4e
@ -257,9 +257,9 @@ $(document).ready(function() {
|
||||
currentPhoto = photo;
|
||||
currentPhotoIndex = photoIndex;
|
||||
setTitle();
|
||||
showAlbum(previousAlbum !== currentAlbum);
|
||||
if (photo !== null)
|
||||
showPhoto();
|
||||
showAlbum(previousAlbum !== currentAlbum);
|
||||
}
|
||||
|
||||
/* Event listeners */
|
||||
|
Loading…
Reference in New Issue
Block a user