|
@@ -819,7 +819,7 @@ var tarteaucitron = {
|
|
|
if (tarteaucitron.parameters.readmoreLink !== undefined && tarteaucitron.parameters.readmoreLink !== '') {
|
|
|
link = tarteaucitron.parameters.readmoreLink;
|
|
|
}
|
|
|
- html += ' <a href="' + link + '" target="_blank" rel="noreferrer noopener nofollow" title="' + tarteaucitron.lang.more + ' : ' + tarteaucitron.lang.cookieDetail + ' ' + service.name + ' ' + tarteaucitron.lang.ourSite + ' ' + tarteaucitron.lang.newWindow +'" class="tarteaucitronReadmoreInfo">';
|
|
|
+ html += ' <a href="' + link + '" target="_blank" rel="noreferrer noopener nofollow" title="' + tarteaucitron.lang.more + ' : '+ tarteaucitron.lang.cookieDetail + ' ' + service.name + ' ' + tarteaucitron.lang.ourSite + ' ' + tarteaucitron.lang.newWindow +'" class="tarteaucitronReadmoreInfo">';
|
|
|
html += ' ' + tarteaucitron.lang.more;
|
|
|
html += ' </a>';
|
|
|
html += ' <span class="tarteaucitronReadmoreSeparator"> - </span>';
|
|
@@ -958,19 +958,19 @@ var tarteaucitron = {
|
|
|
if (property == "display" && value == "none" && (id == "tarteaucitron" || id == "tarteaucitronBack" || id == "tarteaucitronAlertBig")) {
|
|
|
document.getElementById(id).style["opacity"] = "0";
|
|
|
|
|
|
- setTimeout(function() {document.getElementById(id).style[property] = value;}, 200);
|
|
|
+ /*setTimeout(function() {*/document.getElementById(id).style[property] = value;/*}, 200);*/
|
|
|
} else {
|
|
|
|
|
|
document.getElementById(id).style[property] = value;
|
|
|
|
|
|
if (property == "display" && value == "block" && (id == "tarteaucitron" || id == "tarteaucitronAlertBig")) {
|
|
|
document.getElementById(id).style["opacity"] = "0";
|
|
|
- setTimeout(function() {document.getElementById(id).style["opacity"] = "1";}, 1);
|
|
|
+ /*setTimeout(function() {*/document.getElementById(id).style["opacity"] = "1";/*}, 1);*/
|
|
|
}
|
|
|
|
|
|
if (property == "display" && value == "block" && id == "tarteaucitronBack") {
|
|
|
document.getElementById(id).style["opacity"] = "0";
|
|
|
- setTimeout(function() {document.getElementById(id).style["opacity"] = "0.7";}, 1);
|
|
|
+ /*setTimeout(function() {*/document.getElementById(id).style["opacity"] = "0.7";/*}, 1);*/
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -2033,13 +2033,13 @@ var tarteaucitron = {
|
|
|
"proTemp": '',
|
|
|
"proTimer": function () {
|
|
|
"use strict";
|
|
|
- setTimeout(tarteaucitron.proPing, 500);
|
|
|
+ setTimeout(tarteaucitron.proPing, (Math.floor(Math.random() * (1200 - 500 + 1)) + 500));
|
|
|
},
|
|
|
"pro": function (list) {
|
|
|
"use strict";
|
|
|
tarteaucitron.proTemp += list;
|
|
|
clearTimeout(tarteaucitron.proTimer);
|
|
|
- tarteaucitron.proTimer = setTimeout(tarteaucitron.proPing, 500);
|
|
|
+ tarteaucitron.proTimer = setTimeout(tarteaucitron.proPing, (Math.floor(Math.random() * (1200 - 500 + 1)) + 500));
|
|
|
},
|
|
|
"proPing": function () {
|
|
|
"use strict";
|