Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix geocoder

  • Loading branch information...
commit ece158b65e09d9f206e98ba2c49471ac7302ec26 1 parent 70ba551
@ansis ansis authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 js/id/ui/geocoder.js
View
5 js/id/ui/geocoder.js
@@ -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);
}
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.