summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-18 10:42:43 +0000
committerSarven Capadisli <csarven@status.net>2009-11-18 10:42:43 +0000
commit730b1a211f9d28dc33c67cacfda8538ec7196e8f (patch)
tree27bb7b844cc72f83787a6954f57c27c999f77a71
parentb5ed698bd24fa6587f9b841b49c09698504477ea (diff)
Added on click event to open up anchors in notice items in a new
window for the Realtime plugin's pop-up window.
-rw-r--r--plugins/Realtime/realtimeupdate.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js
index 9b9991b9e..3a1e9683f 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;
+ });
}
}