Difference between revisions of "MediaWiki:Common.js"

From ChaldeanWiki
Jump to: navigation, search
(Created page with "<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id;...")
 
(Blanked the page)
Line 1: Line 1:
<div id="fb-root"></div>
+
 
<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_GB/sdk.js#xfbml=1&version=v2.3";
+
  fjs.parentNode.insertBefore(js, fjs);
+
}(document, 'script', 'facebook-jssdk'));</script>
+

Revision as of 18:00, 27 April 2015