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;
|
currentPhoto = photo;
|
||||||
currentPhotoIndex = photoIndex;
|
currentPhotoIndex = photoIndex;
|
||||||
setTitle();
|
setTitle();
|
||||||
showAlbum(previousAlbum !== currentAlbum);
|
|
||||||
if (photo !== null)
|
if (photo !== null)
|
||||||
showPhoto();
|
showPhoto();
|
||||||
|
showAlbum(previousAlbum !== currentAlbum);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Event listeners */
|
/* Event listeners */
|
||||||
|
Loading…
Reference in New Issue
Block a user