]> git.openstreetmap.org Git - rails.git/commitdiff
Hard code osm.org into the shortcode permalink.
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Fri, 26 Jun 2009 11:02:00 +0000 (11:02 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Fri, 26 Jun 2009 11:02:00 +0000 (11:02 +0000)
public/javascripts/site.js

index 23ea3bc6839acf7bffe4226e7dce207454942001..aefd9c8b68fd2044119c255b6048f8698c41ca18 100644 (file)
@@ -93,9 +93,9 @@ function updatelinks(lon,lat,zoom,layers,minlon,minlat,maxlon,maxlat) {
     // show me the Right way to do it.
     if (layers && (layers != "B000FTF")) {
       args["layers"] = layers;
-      node.href = setArgs("/go/" + code, args);
+      node.href = setArgs("http://osm.org/go/" + code, args);
     } else {
-      node.href = "/go/" + code;
+      node.href = "http://osm.org/go/" + code;
     }
   }
 }