summaryrefslogtreecommitdiff
path: root/javascript/duktape/element.c
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/duktape/element.c')
-rw-r--r--javascript/duktape/element.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/duktape/element.c b/javascript/duktape/element.c
index 23c76278a..b86e940f2 100644
--- a/javascript/duktape/element.c
+++ b/javascript/duktape/element.c
@@ -211,7 +211,7 @@ DUKKY_FUNC(element, __proto)
DUKKY_POPULATE_READONLY_PROPERTY(element, previousElementSibling);
DUKKY_POPULATE_READONLY_PROPERTY(element, childElementCount);
/* Set this prototype's prototype (left-parent)*/
- DUKKY_GET_PROTOTYPE(node);
+ DUKKY_GET_PROTOTYPE(NODE);
duk_set_prototype(ctx, 0);
/* And the initialiser/finalizer */
DUKKY_SET_DESTRUCTOR(0, element);