X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2b4f8e92c969a5508b73ae7af45811a118fda6b1..42c1dec8f0f53b457e9512bcc24f26cad9df9916:/app/assets/javascripts/user.js diff --git a/app/assets/javascripts/user.js b/app/assets/javascripts/user.js index 6a0d38dd5..fb4aa0300 100644 --- a/app/assets/javascripts/user.js +++ b/app/assets/javascripts/user.js @@ -36,7 +36,7 @@ $(document).ready(function () { map.on("click", function (e) { if ($('#updatehome').is(':checked')) { var zoom = map.getZoom(), - precision = zoomPrecision(zoom), + precision = OSM.zoomPrecision(zoom), location = e.latlng.wrap(); $('#homerow').removeClass();