]> git.openstreetmap.org Git - rails.git/commitdiff
Disabled edit tab until z13 is reached.
authorTom Hughes <tom@compton.nu>
Wed, 27 May 2009 13:34:50 +0000 (13:34 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 27 May 2009 13:34:50 +0000 (13:34 +0000)
public/javascripts/site.js

index ae38ecb6a53914239c903a252ba9aa4d83c13d57..8f9d3a035feb8f54e99ddf75bb102e94ae53b785 100644 (file)
@@ -45,7 +45,7 @@ function updatelinks(lon,lat,zoom,layers,minlon,minlat,maxlon,maxlat) {
 
   node = document.getElementById("editanchor");
   if (node) {
-    if (zoom >= 11) {
+    if (zoom >= 13) {
       var args = new Object();
       args.lat = lat;
       args.lon = lon;