diff options
author | Russ Cox <rsc@golang.org> | 2009-11-15 12:57:33 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-11-15 12:57:33 -0800 |
commit | dee5ad5c241ad3612c252f570f2b76c78b86dcfc (patch) | |
tree | 4b734cdd650488acdd827551cb133efafb68e9da | |
parent | cc3524fb060d0c8b3654b4bdcbe8328074e33dad (diff) | |
download | go-dee5ad5c241ad3612c252f570f2b76c78b86dcfc.tar.gz go-dee5ad5c241ad3612c252f570f2b76c78b86dcfc.zip |
godocs.js: fix bad variable name
Thanks to anno.langen.
Fixes #103.
R=r
https://golang.org/cl/155050
-rw-r--r-- | doc/godocs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/godocs.js b/doc/godocs.js index a5b59fea77..b2fc1b357b 100644 --- a/doc/godocs.js +++ b/doc/godocs.js @@ -13,7 +13,7 @@ */ if (window.addEventListener){ window.addEventListener('load', godocs_onload, false); -} else if (elm.attachEvent){ +} else if (window.attachEvent){ window.attachEvent('onload', godocs_onload); } |