mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[quickjs] getElementsByTagName return Nodelist instead of Collection
This commit is contained in:
parent
cb8f7c8423
commit
5f56743696
@ -1400,7 +1400,7 @@ js_document_getElementsByTagName(JSContext *ctx, JSValueConst this_val, int argc
|
||||
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…
x
Reference in New Issue
Block a user