Merge pull request #811 from CIMEOS/master

Add2AnyShare - Suppression de l'élément DOM lorsque le service est autorisé
This commit is contained in:
Amauri CHAMPEAUX 2021-10-19 17:43:45 +02:00 committed by GitHub
commit 4845248f0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -563,7 +563,9 @@ tarteaucitron.services.addtoanyshare = {
"cookies": [], "cookies": [],
"js": function () { "js": function () {
"use strict"; "use strict";
tarteaucitron.fallback(['tac_addtoanyshare'], ''); tarteaucitron.fallback(['tac_addtoanyshare'], function (elem) {
elem.remove();
}, true);
tarteaucitron.addScript('//static.addtoany.com/menu/page.js'); tarteaucitron.addScript('//static.addtoany.com/menu/page.js');
}, },
"fallback": function () { "fallback": function () {