mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-13 22:29:26 +03:00
Node: nodeValue setter should return value set into node
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
1ecc36384d
commit
b633bef7bf
@ -221,7 +221,8 @@ setter Node::nodeValue()
|
|||||||
if (exc != DOM_NO_ERR) return 0;
|
if (exc != DOM_NO_ERR) return 0;
|
||||||
exc = dom_node_set_node_value(priv->node, content);
|
exc = dom_node_set_node_value(priv->node, content);
|
||||||
dom_string_unref(content);
|
dom_string_unref(content);
|
||||||
return 0;
|
if (exc != DOM_NO_ERR) return 0;
|
||||||
|
return 1;
|
||||||
%}
|
%}
|
||||||
|
|
||||||
getter Node::textContent()
|
getter Node::textContent()
|
||||||
|
Loading…
Reference in New Issue
Block a user