mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05: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;
|
||||
}
|
||||
//dom_node_unref(el);
|
||||
JSValue rr = getElement(ctx, node);
|
||||
dom_node_unref(node);
|
||||
|
||||
return getElement(ctx, node);
|
||||
return rr;
|
||||
}
|
||||
|
||||
static JSValue
|
||||
|
Loading…
Reference in New Issue
Block a user