mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 17:23:02 +00:00
@@ -344,7 +344,12 @@ export function rendererMap(context) {
|
||||
function editOff() {
|
||||
context.features().resetStats();
|
||||
surface.selectAll('.layer-osm *').remove();
|
||||
context.enter(modeBrowse(context));
|
||||
|
||||
var mode = context.mode();
|
||||
if (mode && mode.id !== 'save') {
|
||||
context.enter(modeBrowse(context));
|
||||
}
|
||||
|
||||
dispatch.call('drawn', this, {full: true});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user