mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[quickjs] element.firstChild
This commit is contained in:
parent
1570955137
commit
eba47a3352
@ -608,9 +608,10 @@ js_element_get_property_firstChild(JSContext *ctx, JSValueConst this_val)
|
||||
//dom_node_unref(el);
|
||||
return JS_NULL;
|
||||
}
|
||||
//dom_node_unref(el);
|
||||
JSValue rr = getElement(ctx, node);
|
||||
dom_node_unref(node);
|
||||
|
||||
return getElement(ctx, node);
|
||||
return rr;
|
||||
}
|
||||
|
||||
static JSValue
|
||||
|
Loading…
Reference in New Issue
Block a user