]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Open geoname URL in a new window
authorSarven Capadisli <csarven@status.net>
Mon, 4 Jan 2010 09:10:21 +0000 (09:10 +0000)
committerSarven Capadisli <csarven@status.net>
Mon, 4 Jan 2010 09:10:21 +0000 (09:10 +0000)
js/util.js

index f6b59ec742b8ed1aa6ff5b1bb2aaa29c0e2dd42f..00f94e5c497c13c7709931c993e78851b479f37c 100644 (file)
@@ -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;
+                                    });
                                 });
                             });
                         }