summaryrefslogtreecommitdiff
path: root/javascript/duktape/html_element.c
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/duktape/html_element.c')
-rw-r--r--javascript/duktape/html_element.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/duktape/html_element.c b/javascript/duktape/html_element.c
index c129866e4..1b22f6788 100644
--- a/javascript/duktape/html_element.c
+++ b/javascript/duktape/html_element.c
@@ -41,7 +41,7 @@ DUKKY_FUNC(html_element, __proto)
/* Populate html_element's prototypical functionality */
/* Set this prototype's prototype (left-parent)*/
- DUKKY_GET_PROTOTYPE(element);
+ DUKKY_GET_PROTOTYPE(ELEMENT);
duk_set_prototype(ctx, 0);
/* And the initialiser/finalizer */
DUKKY_SET_DESTRUCTOR(0, html_element);