Don't preload on mobile
This commit is contained in:
parent
c57a284713
commit
a0c1dcce9d
@ -189,7 +189,7 @@ var lychee = {
|
|||||||
album.load(albumID, true);
|
album.load(albumID, true);
|
||||||
}
|
}
|
||||||
photo.load(photoID, albumID);
|
photo.load(photoID, albumID);
|
||||||
photo.preloadNext(photoID,albumID);
|
if (!mobileBrowser()) photo.preloadNext(photoID,albumID);
|
||||||
|
|
||||||
} else if (albumID) {
|
} else if (albumID) {
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user