X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/68a3df4d53c84508bf443058040379c3a18eb1a7..8642e4c1f337c5088c84b2d3a6c0448ef704ed40:/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();