]> Cypherpunks repositories - gostls13.git/commit
godoc: if there is no search box, don't run the respective JS code
authorRobert Griesemer <gri@golang.org>
Tue, 3 May 2011 01:07:11 +0000 (18:07 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 3 May 2011 01:07:11 +0000 (18:07 -0700)
commit8e340695c15715ecd226c047e360d2e58af3f63e
treecc20e709e7052b027b12f9c258bd9c53991bed95
parentbb7eb4002e54720e829cc9e2344252741411ccd0
godoc: if there is no search box, don't run the respective JS code

Fixes a JS crash which prevented the automatically generated
table of contents to not appear.

R=adg, bradfitz
CC=golang-dev
https://golang.org/cl/4460041
doc/godocs.js