From: Sarven Capadisli Date: Wed, 18 Nov 2009 10:42:43 +0000 (+0000) Subject: Added on click event to open up anchors in notice items in a new X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=730b1a211f9d28dc33c67cacfda8538ec7196e8f;p=quix0rs-gnu-social.git Added on click event to open up anchors in notice items in a new window for the Realtime plugin's pop-up window. --- diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js index 9b9991b9ee..3a1e9683fe 100644 --- a/plugins/Realtime/realtimeupdate.js +++ b/plugins/Realtime/realtimeupdate.js @@ -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; + }); } }