[PATCH] hgweb: make graph page really Non-Javascript compliant

Dirkjan Ochtman dirkjan at ochtman.nl
Tue Jun 24 03:19:37 CDT 2008


Ben <benoit.allard <at> gmx.de> writes:
>  <script type="text/javascript" src="{staticurl}graph.js"></script>
>  <script>
> -
> -document.getElementById('noscript').style.visibility = 'hidden';
> +<!-- // hide script
> +document.getElementById('noscript').style.display = 'none';

Ah, right, the display = 'none' was what I was looking for. Taken this (and the
script hiding tricks, as advocated by W3C) and pushed it as 855851eae70f.

Thanks for working on this,

Dirkjan



More information about the Mercurial-devel mailing list