Team:UCLondon/Templates/Navigationv3

From 2012e.igem.org

(Difference between revisions)
Line 4: Line 4:
<div id="fb-root"></div>
<div id="fb-root"></div>
<script>
<script>
-
function(d, s, id) {
+
(function(d, s, id) {
   var js, fjs = d.getElementsByTagName(s)[0];
   var js, fjs = d.getElementsByTagName(s)[0];
   if (d.getElementById(id)) return;
   if (d.getElementById(id)) return;
Line 10: Line 10:
   js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
   js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
   fjs.parentNode.insertBefore(js, fjs);
   fjs.parentNode.insertBefore(js, fjs);
-
}(document, 'script', 'facebook-jssdk');
+
}(document, 'script', 'facebook-jssdk'));
</script>
</script>

Revision as of 21:01, 15 October 2012