From b80134374da7b171d7e0344f11292ef3953e5388 Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Fri, 27 Feb 2015 18:31:25 +0100 Subject: [PATCH] Some minor adjustements --- tarteaucitron.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tarteaucitron.js b/tarteaucitron.js index bc6b1cc..0253ac5 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -668,13 +668,13 @@ var tarteaucitron = { setTimeout(function () { document.write = savedWrite; document.writeln = savedWriteln; - }, 60000); + }, 20000); tarteaucitron.makeAsync.getAndParse(url, id); }, "getAndParse": function (url, id) { "use strict"; - if (tarteaucitron.makeAsync.antiGhost > 10) { + if (tarteaucitron.makeAsync.antiGhost > 9) { tarteaucitron.makeAsync.antiGhost = 0; return; } @@ -685,7 +685,7 @@ var tarteaucitron = { tarteaucitron.makeAsync.execJS(id); }); }, - "execJS": function forceJsExec(id) { + "execJS": function (id) { /* not strict because third party scripts may have errors */ var i, scripts,