Commit dee5ad5c authored by Russ Cox's avatar Russ Cox

godocs.js: fix bad variable name

Thanks to anno.langen.
Fixes #103.

R=r
https://golang.org/cl/155050
parent cc3524fb
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment