]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/user.js
Avoid mixed content warnings for the MapQuest logo
[rails.git] / app / assets / javascripts / user.js
index 6a0d38dd5d9dcd9ccce4ff4d34637bec30d38b3d..fb4aa030036e4b145028785a35a9b12f9f45b60f 100644 (file)
@@ -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();