X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a24f52dec75007d05c5a4e2986dd82c4602af4ad..abf53428456cf62edc61af6a1750134d6b1dfa84:/app/assets/javascripts/fixthemap.js?ds=sidebyside diff --git a/app/assets/javascripts/fixthemap.js b/app/assets/javascripts/fixthemap.js index e2a503ad3..47ba9baf4 100644 --- a/app/assets/javascripts/fixthemap.js +++ b/app/assets/javascripts/fixthemap.js @@ -1,12 +1,12 @@ -$(document).ready(function() { +$(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); });