From 410e401b345121ef64056df54d008ccb22803eb5 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 17 Jun 2013 14:47:12 -0700 Subject: [PATCH] Don't show the inspector on multiselect (fixes #1600) --- js/id/modes/select.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/id/modes/select.js b/js/id/modes/select.js index c81a6fb62..256652143 100644 --- a/js/id/modes/select.js +++ b/js/id/modes/select.js @@ -104,10 +104,8 @@ iD.modes.Select = function(context, selectedIDs) { }), true)); } - if (singular()) { - context.ui().sidebar - .select(singular().id, newFeature); - } + context.ui().sidebar + .select(singular() ? singular().id : null, newFeature); context.history() .on('undone.select', update)