Sfoglia il codice sorgente

performance optimierung

Moritz Schmidt 9 anni fa
parent
commit
bc050eac9f
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      main.js

+ 3 - 1
main.js

@@ -29,7 +29,9 @@ jQuery.noConflict();
         movieList.search($(this).val());
     });
 
-    $("img.lazy").lazyload();
+    $("img.lazy").lazyload({
+        threshold : 200
+    });