Some minor adjustements

This commit is contained in:
Amauri CHAMPEAUX 2015-02-27 18:31:25 +01:00
parent da23d4dd39
commit b80134374d
1 changed files with 3 additions and 3 deletions

View File

@ -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,