1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[quickjs] element.getElementsByTagName -> NodeList

This commit is contained in:
Witold Filipczyk 2023-04-04 17:35:13 +02:00
parent 92850a2aa4
commit 32e67cfe40

View File

@ -1867,7 +1867,7 @@ js_element_getElementsByTagName(JSContext *ctx, JSValueConst this_val, int argc,
if (exc != DOM_NO_ERR || !nlist) {
return JS_NULL;
}
JSValue rr = getCollection(ctx, nlist);
JSValue rr = getNodeList(ctx, nlist);
JS_FreeValue(ctx, rr);
RETURN_JS(rr);