mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-19 01:36:33 -04:00
[quickjs] documentElement
This commit is contained in:
parent
9329b66b28
commit
ff28219a94
@ -386,8 +386,10 @@ js_document_get_property_documentElement(JSContext *ctx, JSValueConst this_val)
|
||||
return JS_NULL;
|
||||
}
|
||||
//dom_node_unref(doc);
|
||||
JSValue rr = getElement(ctx, root);
|
||||
dom_node_unref(root);
|
||||
|
||||
return getElement(ctx, root);
|
||||
return rr;
|
||||
}
|
||||
|
||||
static JSValue
|
||||
|
Loading…
Reference in New Issue
Block a user