]> git.openstreetmap.org Git - rails.git/blobdiff - public/javascripts/site.js
Fix multiple issues with links to /history from the homepage. Thanks to Ed Avis for...
[rails.git] / public / javascripts / site.js
index 06b4152df9a1267cef030762145d5c2946e117c1..bf4eda9127432fa27766670677868a5d7af97012 100644 (file)
@@ -72,7 +72,7 @@ function updatelinks(lon,lat,zoom,layers,extents) {
       maxlon = Math.round(maxlon * decimals) / decimals;
       maxlat = Math.round(maxlat * decimals) / decimals;
       args.bbox = minlon + "," + minlat + "," + maxlon + "," + maxlat;
-      node.href = setArgs("history/", args);
+      node.href = setArgs("/history", args);
       node.style.fontStyle = 'normal';
     } else {
       node.href = 'javascript:alert("zoom in to see editing history");';