From: Sarven Capadisli <csarven@status.net>
Date: Mon, 4 Jan 2010 09:10:21 +0000 (+0000)
Subject: Open geoname URL in a new window
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=50af9c5c401a7bebd1503df885172cf538a6ba79;p=quix0rs-gnu-social.git

Open geoname URL in a new window
---

diff --git a/js/util.js b/js/util.js
index f6b59ec742..00f94e5c49 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;
+                                    });
                                 });
                             });
                         }