Browse Source

Don't preload on mobile

Tobias Reich 10 years ago
parent
commit
a0c1dcce9d
2 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/js/lychee.js
  2. 0 0
      assets/min/main.js

+ 1 - 1
assets/js/lychee.js

@@ -189,7 +189,7 @@ var lychee = {
 				album.load(albumID, true);
 			}
 			photo.load(photoID, albumID);
-            photo.preloadNext(photoID,albumID);
+            if (!mobileBrowser()) photo.preloadNext(photoID,albumID);
 
 		} else if (albumID) {
 

File diff suppressed because it is too large
+ 0 - 0
assets/min/main.js


Some files were not shown because too many files changed in this diff