mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-20 01:46:15 -04:00
[quickjs] element.previousSibling
This commit is contained in:
parent
c01339fee9
commit
daa753e98a
@ -1308,8 +1308,10 @@ js_element_get_property_previousSibling(JSContext *ctx, JSValueConst this_val)
|
|||||||
return JS_NULL;
|
return JS_NULL;
|
||||||
}
|
}
|
||||||
//dom_node_unref(el);
|
//dom_node_unref(el);
|
||||||
|
JSValue rr = getElement(ctx, node);
|
||||||
|
dom_node_unref(node);
|
||||||
|
|
||||||
return getElement(ctx, node);
|
return rr;
|
||||||
}
|
}
|
||||||
|
|
||||||
static JSValue
|
static JSValue
|
||||||
|
Loading…
Reference in New Issue
Block a user