Convert tabs to spaces

This commit is contained in:
Dr Ian
2013-02-01 22:28:43 +01:00
parent 7bfdf4de1a
commit 839844de27
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -346,9 +346,9 @@ iD.Map = function(context) {
vZoomDiff = Math.log(Math.abs(vFactor)) / Math.LN2,
newZoom = map.zoom() - Math.max(hZoomDiff, vZoomDiff);
if(newZoom > 19){
newZoom = 19;
}
if(newZoom > 19){
newZoom = 19;
}
map.centerZoom(extent.center(), newZoom);
}
+1 -1
View File
@@ -6,7 +6,7 @@ iD.ui.geocoder = function() {
function keydown() {
if (d3.event.keyCode !== 13) return;
d3.event.preventDefault();
var searchVal = this.value;
var searchVal = this.value;
d3.json('http://nominatim.openstreetmap.org/search/' +
encodeURIComponent(searchVal) + '?limit=10&format=json', function(err, resp) {
if (err) return hide();