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:
parent
c52510fd9f
commit
52de1a682c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user