1
0
Fork 0

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:
Michael Hackstein 2013-06-27 14:10:23 +02:00
parent 2f4de281ec
commit 65d266f367
1 changed files with 4 additions and 2 deletions

View File

@ -369,8 +369,10 @@ function EdgeShaper(parent, flags, idfunc) {
};
self.removeCursorFollowingEdge = function() {
followEdge.remove();
followEdge = {};
if (followEdge.remove) {
followEdge.remove();
followEdge = {};
}
};
}