]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added on click event to open up anchors in notice items in a new
authorSarven Capadisli <csarven@status.net>
Wed, 18 Nov 2009 10:42:43 +0000 (10:42 +0000)
committerSarven Capadisli <csarven@status.net>
Wed, 18 Nov 2009 10:42:43 +0000 (10:42 +0000)
window for the Realtime plugin's pop-up window.

plugins/Realtime/realtimeupdate.js

index 9b9991b9ee35704e3e6985e4d74dce130d6b785d..3a1e9683fe83076846e5628bca32720af643bbc6 100644 (file)
@@ -208,6 +208,12 @@ RealtimeUpdate = {
             'left':'auto',
             'right':'0'
          });
+
+         $('.notices .entry-title a, .notices .entry-content a').bind('click', function() {
+            window.open(this.href, '');
+            
+            return false;
+         });
      }
 }