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