mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-20 01:46:15 -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;
|
return JS_NULL;
|
||||||
}
|
}
|
||||||
//dom_node_unref(doc);
|
//dom_node_unref(doc);
|
||||||
|
JSValue rr = getElement(ctx, root);
|
||||||
|
dom_node_unref(root);
|
||||||
|
|
||||||
return getElement(ctx, root);
|
return rr;
|
||||||
}
|
}
|
||||||
|
|
||||||
static JSValue
|
static JSValue
|
||||||
|
Loading…
Reference in New Issue
Block a user