diff --git a/js/id/modes/select.js b/js/id/modes/select.js index a4dea42f2..4ab4adcf2 100644 --- a/js/id/modes/select.js +++ b/js/id/modes/select.js @@ -91,10 +91,16 @@ iD.modes.Select = function(context, selection) { }); }); - var q = iD.util.stringQs(location.hash.substring(1)); - location.replace('#' + iD.util.qsString(_.assign(q, { - id: selection.join(',') - }), true)); + var notNew = selection.filter(function(id) { + return !context.entity(id).isNew(); + }); + + if (notNew.length) { + var q = iD.util.stringQs(location.hash.substring(1)); + location.replace('#' + iD.util.qsString(_.assign(q, { + id: notNew.join(',') + }), true)); + } if (singular()) { inspector = iD.ui.Inspector(context, singular())