From: Shaun McDonald Date: Fri, 26 Jun 2009 11:02:00 +0000 (+0000) Subject: Hard code osm.org into the shortcode permalink. X-Git-Tag: live~7018 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/ddf44b07c88810ee8c341e61fc1fa9db322a0032?hp=095d9813a81b502aa3dfe7525bc229b4755bbb16;ds=sidebyside Hard code osm.org into the shortcode permalink. --- diff --git a/public/javascripts/site.js b/public/javascripts/site.js index 23ea3bc68..aefd9c8b6 100644 --- a/public/javascripts/site.js +++ b/public/javascripts/site.js @@ -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; } } }