]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/search.js
Merge remote-tracking branch 'upstream/pull/2296'
[rails.git] / app / assets / javascripts / index / search.js
index fa9546f4e27fee974c202a10f20e2588e5d48ebc..a3e53382a0704d497332a5a132500c23db4fc1e3 100644 (file)
@@ -33,7 +33,7 @@ OSM.Search = function (map) {
   $(".describe_location").on("click", function (e) {
     e.preventDefault();
     var center = map.getCenter().wrap(),
-      precision = OSM.zoomPrecision(map.getZoom());
+        precision = OSM.zoomPrecision(map.getZoom());
     OSM.router.route("/search?whereami=1&query=" + encodeURIComponent(
       center.lat.toFixed(precision) + "," + center.lng.toFixed(precision)
     ));