mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-25 06:55:46 +00:00
fix geocoder
This commit is contained in:
@@ -86,9 +86,8 @@ iD.ui.Geocoder = function(context) {
|
||||
|
||||
context.on('enter.geocoder', function() {
|
||||
if (context.mode().id !== 'browse') {
|
||||
context.map()
|
||||
.on('drawn.geocoder', null)
|
||||
.on('enter.geocoder', null);
|
||||
context.on('enter.geocoder', null)
|
||||
.map().on('drawn.geocoder', null);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user