about summary refs log tree commit diff stats
path: root/src/html
diff options
context:
space:
mode:
Diffstat (limited to 'src/html')
-rw-r--r--src/html/dom.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim
index bf8e0fcc..ee4d5620 100644
--- a/src/html/dom.nim
+++ b/src/html/dom.nim
@@ -2990,11 +2990,11 @@ proc registerElements(ctx: JSContext, nodeCID: JSClassID) =
   let elementCID = ctx.registerType(Element, parent = nodeCID)
   const extra_getset = getElementReflectFunctions()
   let htmlElementCID = ctx.registerType(HTMLElement, parent = elementCID,
-    extra_getset = extra_getset)
+    has_extra_getset = true, extra_getset = extra_getset)
   template register(t: typed, tags: set[TagType]) =
     const extra_getset = getReflectFunctions(tags)
     ctx.registerType(t, parent = htmlElementCID,
-      extra_getset = extra_getset)
+      has_extra_getset = true, extra_getset = extra_getset)
   template register(t: typed, tag: TagType) =
     register(t, {tag})
   register(HTMLInputElement, TAG_INPUT)