Browse Source

docs: fix javascript error on document page

`highlight()` is called twice. It causes following javascript error.
> Uncaught Found <pre> element with class="sh_sourcecode",
> but no such language exists

Fixes #2393.
v0.7.4-release
Seong-Rak Choi 13 years ago
committed by koichik
parent
commit
892ba87866
  1. 1
      doc/template.html

1
doc/template.html

@ -31,6 +31,5 @@
var pageTracker = _gat._getTracker("UA-10874194-2");
pageTracker._trackPageview();
} catch(err) {}</script>
<script>highlight(undefined, undefined, 'pre');</script>
</body>
</html>

Loading…
Cancel
Save