Skip to content

Commit

Permalink
Merge pull request #4052 from c2corg/addthis-error
Browse files Browse the repository at this point in the history
fix: avoid error if addthis blocked by some add blocker
  • Loading branch information
brunobesson authored Oct 18, 2024
2 parents 5f07c67 + f03125e commit 6cceaa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/document/utils/SocialNetworkSharing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default {
methods: {
onAddthisLoad() {
this.addThisVisible = true;
window.addthis.button('.social-network-sharing');
window.addthis?.button('.social-network-sharing');
},
installAddThis() {
Expand Down

0 comments on commit 6cceaa5

Please sign in to comment.