0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-09-21 19:46:23 -04:00

[ecmascript] Random fixes

This commit is contained in:
Witold Filipczyk
2022-11-20 18:09:53 +01:00
parent 865f3fa0d0
commit df28d4345b
6 changed files with 32 additions and 22 deletions

View File

@@ -395,7 +395,8 @@ check_for_rerender(struct ecmascript_interpreter *interpreter, const char* text)
auto it2 = children2.begin();
auto end2 = children2.end();
for (; it2 != end2; ++it2) {
xmlAddPrevSibling(el->cobj(), (*it2)->cobj());
auto n = xmlAddPrevSibling(el->cobj(), (*it2)->cobj());
xmlpp::Node::create_wrapper(n);
}
xmlpp::Node::remove_node(el);
}