瀏覽代碼

Some minor adjustements

Amauri CHAMPEAUX 10 年之前
父節點
當前提交
b80134374d
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      tarteaucitron.js

+ 3 - 3
tarteaucitron.js

@@ -668,13 +668,13 @@ var tarteaucitron = {
             setTimeout(function () {
             setTimeout(function () {
                 document.write = savedWrite;
                 document.write = savedWrite;
                 document.writeln = savedWriteln;
                 document.writeln = savedWriteln;
-            }, 60000);
+            }, 20000);
             
             
             tarteaucitron.makeAsync.getAndParse(url, id);
             tarteaucitron.makeAsync.getAndParse(url, id);
         },
         },
         "getAndParse": function (url, id) {
         "getAndParse": function (url, id) {
             "use strict";
             "use strict";
-            if (tarteaucitron.makeAsync.antiGhost > 10) {
+            if (tarteaucitron.makeAsync.antiGhost > 9) {
                 tarteaucitron.makeAsync.antiGhost = 0;
                 tarteaucitron.makeAsync.antiGhost = 0;
                 return;
                 return;
             }
             }
@@ -685,7 +685,7 @@ var tarteaucitron = {
                 tarteaucitron.makeAsync.execJS(id);
                 tarteaucitron.makeAsync.execJS(id);
             });
             });
         },
         },
-        "execJS": function forceJsExec(id) {
+        "execJS": function (id) {
             /* not strict because third party scripts may have errors */
             /* not strict because third party scripts may have errors */
             var i,
             var i,
                 scripts,
                 scripts,