[FEATURE] remove a2a DOM element when cookies is allowed

This commit is contained in:
Romain Tiger 2021-10-15 17:11:31 +02:00
parent afd0aee22e
commit 3e022394ca
1 changed files with 3 additions and 1 deletions

View File

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