X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/15b104f4ff4614aa78c01180b6a9b89dd5a1400f..eb7678145a87c1b9e3cd7ff2d3b5dc08132e4b51:/app/assets/javascripts/fixthemap.js diff --git a/app/assets/javascripts/fixthemap.js b/app/assets/javascripts/fixthemap.js index e2a503ad3..9bfb01ad5 100644 --- a/app/assets/javascripts/fixthemap.js +++ b/app/assets/javascripts/fixthemap.js @@ -1,12 +1,12 @@ $(document).ready(function() { var params = OSM.params(); - var url = '/note/new'; + var url = "/note/new"; if (params.lat && params.lon) { params.lat = parseFloat(params.lat); params.lon = parseFloat(params.lon); params.zoom = params.zoom || 17; url += OSM.formatHash(params); } - $('.icon.note').attr('href', url); + $(".icon.note").attr("href", url); });