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

[quickjs] dom_node_ref for nodelist2

This commit is contained in:
Witold Filipczyk 2024-07-23 20:42:11 +02:00
parent c52510fd9f
commit 52de1a682c

View File

@ -132,6 +132,7 @@ getNodeList2(JSContext *ctx, void *nodes)
int i = 0;
foreach (sn, *sni) {
dom_node_ref((dom_node *)(sn->node));
JSValue obj = getElement(ctx, sn->node);
REF_JS(obj);