diff options
author | Sarven Capadisli <csarven@status.net> | 2009-11-17 14:04:13 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-11-17 14:04:13 +0000 |
commit | 57b7dac8768cc6a182e917ed46cb9ecfbdac2fc5 (patch) | |
tree | 0bbe44ce150a7930c7e7e45d0d8679dec9c368b1 /plugins | |
parent | 9efb65e0e21d8148b0eae9f6227a01141d96bd70 (diff) |
Open anchors in entry-title and entry-content on a new window
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Realtime/realtimeupdate.js | 6 |
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; + }); } } |