From 0e550122aa2a87cc3379dec562ad8676111db49a Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 15 Nov 2009 12:57:33 -0800 Subject: godocs.js: fix bad variable name Thanks to anno.langen. Fixes issue 103. R=r http://codereview.appspot.com/155050 --- doc/godocs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/godocs.js') 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); } -- cgit v1.2.3