Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
docs: fix javascript error on document page
Browse files Browse the repository at this point in the history
`highlight()` is called twice. It causes following javascript error.
> Uncaught Found <pre> element with class="sh_sourcecode",
> but no such language exists

Fixes #2393.
  • Loading branch information
ragiragi authored and koichik committed Dec 22, 2011
1 parent ef65919 commit 892ba87
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/template.html
Expand Up @@ -31,6 +31,5 @@ <h1>Node.js v0.6.6 Manual &amp; Documentation</h1>
var pageTracker = _gat._getTracker("UA-10874194-2");
pageTracker._trackPageview();
} catch(err) {}</script>
<script>highlight(undefined, undefined, 'pre');</script>
</body>
</html>

0 comments on commit 892ba87

Please sign in to comment.