Preload next photo when current photo data has been loaded
This commit is contained in:
parent
27d7ca75f3
commit
f2486ac08f
@ -189,7 +189,6 @@ var lychee = {
|
||||
album.load(albumID, true);
|
||||
}
|
||||
photo.load(photoID, albumID);
|
||||
if (!mobileBrowser()) photo.preloadNext(photoID,albumID);
|
||||
|
||||
} else if (albumID) {
|
||||
|
||||
|
@ -44,7 +44,10 @@ photo = {
|
||||
view.photo.init();
|
||||
|
||||
lychee.imageview.show();
|
||||
setTimeout(function() { lychee.content.show() }, 300);
|
||||
setTimeout(function() {
|
||||
lychee.content.show();
|
||||
if (!mobileBrowser()) photo.preloadNext(photoID,albumID);
|
||||
}, 300);
|
||||
|
||||
});
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user