Show image before album. Loads image faster when using direct image URL.
This commit is contained in:
		@ -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 */
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user