summaryrefslogtreecommitdiff
path: root/javascript/jsapi/htmlelement.c
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/jsapi/htmlelement.c')
-rw-r--r--javascript/jsapi/htmlelement.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/javascript/jsapi/htmlelement.c b/javascript/jsapi/htmlelement.c
index 90cb06aba..a7846bacd 100644
--- a/javascript/jsapi/htmlelement.c
+++ b/javascript/jsapi/htmlelement.c
@@ -178,6 +178,14 @@ static JSFunctionSpec jsfunctions_element[] = {
};
+
+
+static JSPropertySpec jsproperties_element[] =
+{
+ JSAPI_PS_ELEMENT,
+ JSAPI_PS_END
+};
+
JSObject *
jsapi_new_element(JSContext *cx,
JSObject *parent,
@@ -201,7 +209,7 @@ jsapi_new_element(JSContext *cx,
&JSCLASS_OBJECT,
NULL,
0,
- NULL,
+ jsproperties_element,
jsfunctions_element,
NULL,
NULL);