diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-04 09:10:21 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-04 09:10:21 +0000 |
commit | 50af9c5c401a7bebd1503df885172cf538a6ba79 (patch) | |
tree | 01d407fdb6e6e747b1fadff0d8dd4b07e608c647 | |
parent | bfa3aa0e7f39ba9b8ff920c480efb4cf52007532 (diff) |
Open geoname URL in a new window
-rw-r--r-- | js/util.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/util.js b/js/util.js index f6b59ec74..00f94e5c4 100644 --- a/js/util.js +++ b/js/util.js @@ -524,6 +524,11 @@ var SN = { // StatusNet NLN.attr('href', location.url); NLN.text(NLN_text); + NLN.click(function() { + window.open(location.url); + + return false; + }); }); }); } |