1
0
mirror of https://github.com/golang/go synced 2024-11-21 13:24:40 -07:00

godocs.js: fix bad variable name

Thanks to anno.langen.
Fixes #103.

R=r
https://golang.org/cl/155050
This commit is contained in:
Russ Cox 2009-11-15 12:57:33 -08:00
parent cc3524fb06
commit dee5ad5c24

View File

@ -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);
}