diff templates/gitweb/graph.tmpl @ 7124:63579aa36c8e

graph: replace the blinking no javascript message
author Benoit Allard <benoit@aeteurope.nl>
date Sat, 18 Oct 2008 16:09:07 +0200
parents 936a9073bb73
children 55651328dfcc
line wrap: on
line diff
--- a/templates/gitweb/graph.tmpl	Sat Oct 18 15:49:15 2008 +0200
+++ b/templates/gitweb/graph.tmpl	Sat Oct 18 16:09:07 2008 +0200
@@ -32,7 +32,7 @@
 
 <div class="title">&nbsp;</div>
 
-<div id="noscript">The revision graph only works with JavaScript-enabled browsers.</div>
+<noscript>The revision graph only works with JavaScript-enabled browsers.</noscript>
 
 <div id="wrapper">
 <ul id="nodebgs"></ul>
@@ -44,8 +44,6 @@
 <script>
 <!-- hide script content
 
-document.getElementById('noscript').style.display = 'none';
-
 var data = {jsdata|json};
 var graph = new Graph();
 graph.scale({bg_height});