Enforce consistent indentation in javascript code

This commit is contained in:
Tom Hughes 2019-07-14 10:52:18 +01:00
parent 807750023a
commit c4c0e8105a
20 changed files with 160 additions and 153 deletions

View 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)
));