Enforce consistent indentation in javascript code
This commit is contained in:
parent
807750023a
commit
c4c0e8105a
20 changed files with 160 additions and 153 deletions
|
@ -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)
|
||||
));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue