New option to disable stats (v pro)

This commit is contained in:
Amauri CHAMPEAUX 2021-06-18 10:00:53 +02:00
parent e2f859996d
commit d7a9b5f654
1 changed files with 1 additions and 1 deletions

View File

@ -1950,7 +1950,7 @@ var tarteaucitron = {
},
"proPing": function () {
"use strict";
if (tarteaucitron.uuid !== '' && tarteaucitron.uuid !== undefined && tarteaucitron.proTemp !== '') {
if (tarteaucitron.uuid !== '' && tarteaucitron.uuid !== undefined && tarteaucitron.proTemp !== '' && tarteaucitronStatsEnabled) {
var div = document.getElementById('tarteaucitronPremium'),
timestamp = new Date().getTime(),
url = 'https://tarteaucitron.io/log/?';