Merge pull request #1 from lucmuller/lucmuller-recaptcha-engagement
Ajout d'un engagement pour Recaptcha
This commit is contained in:
commit
fbd50f12b1
|
|
@ -1206,7 +1206,13 @@ tarteaucitron.services.recaptcha = {
|
||||||
"cookies": ['nid'],
|
"cookies": ['nid'],
|
||||||
"js": function () {
|
"js": function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
tarteaucitron.fallback(['g-recaptcha'], '');
|
||||||
tarteaucitron.addScript('https://www.google.com/recaptcha/api.js');
|
tarteaucitron.addScript('https://www.google.com/recaptcha/api.js');
|
||||||
|
},
|
||||||
|
"fallback": function () {
|
||||||
|
"use strict";
|
||||||
|
var id = 'recaptcha';
|
||||||
|
tarteaucitron.fallback(['g-recaptcha'], tarteaucitron.engage(id));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -2159,4 +2165,3 @@ tarteaucitron.services.webmecanik = {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue