summaryrefslogtreecommitdiff
path: root/plugins/Realtime
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-17 14:04:13 +0000
committerSarven Capadisli <csarven@status.net>2009-11-17 14:04:13 +0000
commit57b7dac8768cc6a182e917ed46cb9ecfbdac2fc5 (patch)
tree0bbe44ce150a7930c7e7e45d0d8679dec9c368b1 /plugins/Realtime
parent9efb65e0e21d8148b0eae9f6227a01141d96bd70 (diff)
Open anchors in entry-title and entry-content on a new window
Diffstat (limited to 'plugins/Realtime')
-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 4f0b01119..706ec8cb5 100644
--- a/plugins/Realtime/realtimeupdate.js
+++ b/plugins/Realtime/realtimeupdate.js
@@ -231,6 +231,12 @@ RealtimeUpdate = {
'left':'auto',
'right':'0'
});
+
+ $('.notices .entry-title a, .notices .entry-content a').bind('click', function() {
+ window.open(this.href, '');
+
+ return false;
+ });
}
}