Explorar o código

reduced delay

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
e1c57950fe
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lib/lazy/content-lazy-loader.js

+ 2 - 2
lib/lazy/content-lazy-loader.js

@@ -22,8 +22,8 @@
 
 this.lazyLoader = this.lazyLoader || (() => {
 
-	const LAZY_LOADING_TIMEOUT = 1000;
-	const IDLE_LAZY_LOADING_TIMEOUT = 1250;
+	const LAZY_LOADING_TIMEOUT = 800;
+	const IDLE_LAZY_LOADING_TIMEOUT = 1000;
 	const MAX_LAZY_LOADING_TIMEOUT = 30000;
 	const SCRIPT_TAG_NAME = "script";
 	const MONITORED_ATTRIBUTES = ["src", "srcset"];