We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a309c18 commit 2d8e30fCopy full SHA for 2d8e30f
src/shared/components/challenge-detail/Specification/SideBar/ShareSocial.jsx
@@ -22,8 +22,15 @@ export default class ShareSocial extends React.Component {
22
}
23
} else {
24
const scriptNode = document.createElement('script');
25
+ const scriptNodeConfig = document.createElement('script');
26
+
27
+ scriptNode.type = 'text/javascript';
28
+ scriptNodeConfig.type = 'text/javascript';
29
scriptNode.src = 'https://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-52f22306211cecfc';
30
+ scriptNodeConfig.text = "var addthis_config = { services_exclude: 'email' };";
31
32
this.shareDiv.appendChild(scriptNode);
33
+ this.shareDiv.appendChild(scriptNodeConfig);
34
35
36
0 commit comments