mirror of https://gitee.com/bigwinds/arangodb
GraphViewer: Added a check for the cursor-following edge when connnecting nodes, which did cause a crash in other browsers than FF
This commit is contained in:
parent
2f4de281ec
commit
65d266f367
|
@ -369,8 +369,10 @@ function EdgeShaper(parent, flags, idfunc) {
|
||||||
};
|
};
|
||||||
|
|
||||||
self.removeCursorFollowingEdge = function() {
|
self.removeCursorFollowingEdge = function() {
|
||||||
followEdge.remove();
|
if (followEdge.remove) {
|
||||||
followEdge = {};
|
followEdge.remove();
|
||||||
|
followEdge = {};
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue