Skip to content

Commit

Permalink
Fixing facebook like button.
Browse files Browse the repository at this point in the history
  • Loading branch information
karledurante committed Oct 30, 2012
1 parent df95025 commit 5c6b19f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/views/home/_share_assets.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
</script>
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>

<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
}(document, 'script', 'facebook-jssdk'));</script>
2 changes: 1 addition & 1 deletion app/views/home/_share_buttons.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a href="http://pinterest.com/pin/create/button/?url=http%3A%2F%2Fstachesquatch.herokuapp.com%2F&media=http%3A%2F%2Flocalhost%3A3001%2Fassets%2Fshirt_design.jpg&description=It's%20Movember%20and%20time%20to%20make%20a%20difference.%20%20This%20year%20we%20are%20selling%20limited%20edition%20Tees%20to%20raise%20funds%20for%20men's%20health." class="pin-it-button" count-layout="horizontal"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a>
</div>
<div class="fb">
<div class="fb-like" data-href="http://stachesquatch.herokuapp.com/" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false" data-font="tahoma"></div>
<div class="fb-like" data-href="http://stachequatch.herokuapp.com/" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false" data-font="tahoma"></div>
</div>
<div class="twitter">
<a href="https://twitter.com/share" class="twitter-share-button" data-lang="en">Tweet</a>
Expand Down

0 comments on commit 5c6b19f

Please sign in to comment.