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 | 0e550122aa2a87cc3379dec562ad8676111db49a (patch) | |
tree | 63bc01a698a9d31f543d559ae51a340bb4449913 /doc/godocs.js | |
parent | 30fa6ac07384d459b3a2bb2ba8c5d2361bead9b5 (diff) | |
download | golang-0e550122aa2a87cc3379dec562ad8676111db49a.tar.gz |
godocs.js: fix bad variable name
Thanks to anno.langen.
Fixes issue 103.
R=r
http://codereview.appspot.com/155050
Diffstat (limited to 'doc/godocs.js')
-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 a5b59fea7..b2fc1b357 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); } |