Do not try to load something for the mandatory allow button
This commit is contained in:
parent
8bd6928e85
commit
3b334efc8d
|
|
@ -851,7 +851,7 @@ var tarteaucitron = {
|
||||||
"use strict";
|
"use strict";
|
||||||
var key = el.id.replace(new RegExp("(Eng[0-9]+|Allow|Deni)ed", "g"), '');
|
var key = el.id.replace(new RegExp("(Eng[0-9]+|Allow|Deni)ed", "g"), '');
|
||||||
|
|
||||||
if (key.substring(0, 13) == 'tarteaucitron') {return;}
|
if (key.substring(0, 13) == 'tarteaucitron' || key == "") {return;}
|
||||||
|
|
||||||
// return if same state
|
// return if same state
|
||||||
if (tarteaucitron.state[key] === status) {
|
if (tarteaucitron.state[key] === status) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue