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> | ||
+ | $(document).ready(function(event) { | ||
(function(d, s, id) { | (function(d, s, id) { | ||
var js, fjs = d.getElementsByTagName(s)[0]; | var js, fjs = d.getElementsByTagName(s)[0]; | ||
Line 11: | Line 12: | ||
fjs.parentNode.insertBefore(js, fjs); | fjs.parentNode.insertBefore(js, fjs); | ||
}(document, 'script', 'facebook-jssdk')); | }(document, 'script', 'facebook-jssdk')); | ||
+ | }); | ||
</script> | </script> | ||
Revision as of 21:02, 15 October 2012