Fix removeNode() to really unset previousSibling
There was a typo in attribute name so we attempted to remove the non-existent attribute prevSibling instead.
This commit is contained in:
parent
fd013c344a
commit
4467c94fe9
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ void removeNode(Node *n) {
|
||||||
/* Delete attributes */
|
/* Delete attributes */
|
||||||
Delattr(n,"parentNode");
|
Delattr(n,"parentNode");
|
||||||
Delattr(n,"nextSibling");
|
Delattr(n,"nextSibling");
|
||||||
Delattr(n,"prevSibling");
|
Delattr(n,"previousSibling");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue