fix geocoder

This commit is contained in:
Ansis Brammanis
2013-04-04 19:10:47 -04:00
parent 70ba5510e3
commit ece158b65e

View File

@@ -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);
}
});
}