Skip to content

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 nodejs#2393.
  • Loading branch information
ragiragi authored and alexkwolfe committed Dec 23, 2011
1 parent b5a7091 commit 4765392
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/template.html
Original file line number Diff line number Diff line change
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 4765392

Please sign in to comment.