summary refs log tree commit diff stats
path: root/lib/pure/htmlgen.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-10-25 02:38:33 +0200
committerAraq <rumpf_a@web.de>2015-10-25 02:38:33 +0200
commit77dc0e50ff8da88a567281dde86216150126f54e (patch)
tree4a47371ff76f245e550e7f7e9f517d508358d8ca /lib/pure/htmlgen.nim
parentcd7b5ae1eb999434aebdf81aeecae754457cacb5 (diff)
downloadNim-77dc0e50ff8da88a567281dde86216150126f54e.tar.gz
fixes #3474
Diffstat (limited to 'lib/pure/htmlgen.nim')
-rw-r--r--lib/pure/htmlgen.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/htmlgen.nim b/lib/pure/htmlgen.nim
index e6c15371e..225949350 100644
--- a/lib/pure/htmlgen.nim
+++ b/lib/pure/htmlgen.nim
@@ -33,7 +33,7 @@ import
 const
   coreAttr* = " id class title style "
   eventAttr* = " onclick ondblclick onmousedown onmouseup " &
-    "onmouseover onmousemove onmouseout onkeypress onkeydown onkeyup "
+    "onmouseover onmousemove onmouseout onkeypress onkeydown onkeyup onload "
   commonAttr* = coreAttr & eventAttr
 
 proc getIdent(e: NimNode): string {.compileTime.} =