Only hardcode http://osm.org/ in shortlinks when we're at
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 27 Jun 2009 16:07:53 +0000 (16:07 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 27 Jun 2009 16:07:53 +0000 (16:07 +0000)
commit05bc2b70edaa9a36925139d481f0749436a4bd66
tree2d313692cd2be5b58e5ecc7de402192fde60f4af
parent34b147266c397bb1318bbfefb48df1c704855843
Only hardcode osm.org/ in shortlinks when we're at
openstreetmap.org (according to window.location.hostname).

Solves ticket:1994 and my headaches when trying to hack railsport
locally.
public/javascripts/site.js