Fix multiple issues with links to /history from the homepage. Thanks to Ed Avis for bringing this to our attention.

This commit is contained in:
Thomas Wood 2009-04-22 17:08:04 +00:00
parent 9ca382605c
commit d7663e7d14
2 changed files with 2 additions and 2 deletions

View 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");';