mirror of
https://github.com/openstreetmap/openstreetmap-website.git
synced 2025-08-16 17:07:06 +00:00
Move zoomPrecision function to the OSM namespace
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user