www: Change button as our xml setup didn't like the Twitter code

Christian Fredrik Kalager Schaller uraeus at kemper.freedesktop.org
Fri Jan 13 04:31:38 PST 2012


Module: www
Branch: master
Commit: 3ba82c4643773f40c913db5f5bd55ae3a132420b
URL:    http://cgit.freedesktop.org/gstreamer/www/commit/?id=3ba82c4643773f40c913db5f5bd55ae3a132420b

Author: Christian Fredrik Kalager Schaller <christian.schaller at collabora.co.uk>
Date:   Fri Jan 13 12:31:21 2012 +0000

Change button as our xml setup didn't like the Twitter code

---

 src/htdocs/header.xml |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/htdocs/header.xml b/src/htdocs/header.xml
index d5cf851..3807659 100644
--- a/src/htdocs/header.xml
+++ b/src/htdocs/header.xml
@@ -1,6 +1,5 @@
 <!-- this is the xml for the menu which is pulled in by header.xsl -->
 <!-- all the href's here are relative to & site ; -->
-<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
 
   <menu>
     <item class="gstnavside-r" href="/">Home</item>
@@ -25,5 +24,5 @@
     <item href="" />
 
     <item class="gstnavside-b" href="/artwork/">Artwork</item>
-    <a href="https://twitter.com/gstreamer" class="twitter-follow-button" data-show-count="false">Follow @gstreamer</item>
+    <item class "gstnavside-b" href="https://twitter.com/gstreamer">Follow @gstreamer on Twitter</item>
   </menu>



More information about the gstreamer-commits mailing list