1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-01 03:36:26 -04:00

[quickjs] children -> NodeList not Collection

This commit is contained in:
Witold Filipczyk 2023-04-04 16:52:43 +02:00
parent 8533a537d6
commit 632c5a05a9

View File

@ -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);