Skip to content

Commit

Permalink
Merge pull request imathis#240 from aaroncm/master
Browse files Browse the repository at this point in the history
Only include facebook js if it is to be used
  • Loading branch information
fhemberger committed Oct 23, 2011
2 parents a81ef5e + 3bba3ed commit 408ed3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .themes/classic/source/_includes/facebook_like.html
@@ -1,3 +1,4 @@
{% if site.facebook_like %}
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
Expand All @@ -6,3 +7,4 @@
js.src = "//connect.facebook.net/en_US/all.js#appId=212934732101925&xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
{% endif %}

0 comments on commit 408ed3e

Please sign in to comment.