Skip to content

Commit

Permalink
Fix data-href to point to canonical_url
Browse files Browse the repository at this point in the history
  • Loading branch information
rodfersou committed Jul 26, 2017
1 parent 48d531a commit aeea7de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sc/social/like/plugins/facebook/templates/plugin.pt
Expand Up @@ -2,7 +2,7 @@
<!-- Facebook -->
<div class="fb-like"
tal:condition="view/fbshow_like"
tal:attributes="data-href view/url;
tal:attributes="data-href view/canonical_url;
data-send string:false;
data-action view/fbaction;
data-layout view/typebutton;
Expand All @@ -12,5 +12,5 @@
<div class="fb-share-button"
tal:condition="python: view.fbshow_share and not view.fbshow_like"
tal:attributes="data-layout view/typebutton;
data-href view/url;"></div>
</tal:fb>
data-href view/canonical_url;"></div>
</tal:fb>

0 comments on commit aeea7de

Please sign in to comment.