mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[quickjs] children -> NodeList not Collection
This commit is contained in:
parent
8533a537d6
commit
632c5a05a9
@ -105,7 +105,7 @@ js_element_get_property_children(JSContext *ctx, JSValueConst this_val)
|
||||
if (exc != DOM_NO_ERR || !nodes) {
|
||||
return JS_NULL;
|
||||
}
|
||||
JSValue rr = getCollection(ctx, nodes);
|
||||
JSValue rr = getNodeList(ctx, nodes);
|
||||
JS_FreeValue(ctx, rr);
|
||||
|
||||
RETURN_JS(rr);
|
||||
|
Loading…
Reference in New Issue
Block a user