From 9e0b560cf6ce8205432037a3a745307f99a6152e Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Thu, 19 Sep 2013 15:05:31 +0200 Subject: [PATCH] Remove now obsolete file social-link.js. --- resources/social-links.js | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 resources/social-links.js diff --git a/resources/social-links.js b/resources/social-links.js deleted file mode 100644 index 80c6809399..0000000000 --- a/resources/social-links.js +++ /dev/null @@ -1,26 +0,0 @@ -if (window.location.search == '') { - - // add tweet buttons - // (adapated from https://twitter.com/about/resources/buttons) - (function() { - var self = document.getElementsByTagName('script')[0]; - var script = document.createElement('script'); - script.type = 'text/javascript'; - script.async = true; - script.src = '//platform.twitter.com/widgets.js'; - self.parentNode.insertBefore(script, self); - })(); - - - // add g+1 buttons - // (adapted from https://developers.google.com/+/web/+1button) - (function() { - var self = document.getElementsByTagName('script')[0]; - var script = document.createElement('script'); - script.type = 'text/javascript'; - script.async = true; - script.src = 'https://apis.google.com/js/plusone.js'; - self.parentNode.insertBefore(script, self); - })(); - -}