Skip to content
Snippets Groups Projects
Commit f4adefc0 authored by Angelo Capossele's avatar Angelo Capossele Committed by Wolfgang Welz
Browse files

:bug: Fixes removeNodeX (#162)

parent 8bcd437d
No related branches found
No related tags found
No related merge requests found
......@@ -159,10 +159,9 @@ func index(w http.ResponseWriter, r *http.Request) {
}
function removeNodeX(node) {
if (!(node.id in nodesById)) {
addNode(sourceNodeId);
if (node.id in nodesById) {
removeNode(node.id);
}
removeNode(node.id)
}
</script>
</body>`)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment