Skip to content

Commit

Permalink
small performance improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
cdaniel committed Oct 14, 2015
1 parent 70d59dc commit 3311d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/mapeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ function initalizeJSPlumb() {
}, true);
progressHelper.updateNodeAccordingToProgressState(n);
n.focus();
fireDirty();
} else {
if (selectedConnection) {
toggleConnectionSelectedStyle(selectedConnection, false);
Expand All @@ -669,7 +670,6 @@ function initalizeJSPlumb() {
}
}
updateSelectionMenus();
fireDirty();
}
});
// programatically created connections have menu created during creation,
Expand Down

0 comments on commit 3311d92

Please sign in to comment.