Ensure radial menus closes after operation

https://app.getsentry.com/id/id/group/4233540/
This commit is contained in:
John Firebaugh
2013-03-26 14:46:55 -07:00
parent 8f76661987
commit e89a6c9e3c
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -4,7 +4,6 @@ iD.operations.Disconnect = function(selection, context) {
var operation = function() {
context.perform(action, t('operations.disconnect.annotation'));
context.enter(iD.modes.Browse(context));
};
operation.available = function() {
+1
View File
@@ -12,6 +12,7 @@ iD.ui.RadialMenu = function(operations) {
function click(operation) {
d3.event.stopPropagation();
operation();
radialMenu.close();
}
menu = selection.append('g')