Commit 1e13f68c73e1c2edc4150bfea347e0f2017ddd27

Lea Verou 2012-11-10T22:05:43

Minor fixes on the website

diff --git a/templates/header-main.html b/templates/header-main.html
index de00cf3..2125021 100644
--- a/templates/header-main.html
+++ b/templates/header-main.html
@@ -7,6 +7,6 @@
  	It’s a spin-off from <a href="http://dabblet.com">Dabblet</a> and is tested there daily by thousands.
 </p>
 
-<a href="https://twitter.com/share" class="twitter-share-button" data-via="prismjs" data-size="large" data-related="LeaVerou">Tweet</a>
+<!--<a href="https://twitter.com/share" class="twitter-share-button" data-via="prismjs" data-size="large" data-related="LeaVerou">Tweet</a>
 <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>
-<script>console.log('bar')</script>
\ No newline at end of file
+<script>console.log('bar')</script>-->
\ No newline at end of file
diff --git a/test.html b/test.html
index 0fea75d..75d0b48 100644
--- a/test.html
+++ b/test.html
@@ -86,7 +86,7 @@ for (var id in languages) {
 		continue;
 	}
 	
-	var name = languages[id];
+	var name = languages[id].title || languages[id];
 	
 	$u.element.create('label', {
 		contents: [