forked from GNUsocial/gnu-social
Added on click event to open up anchors in notice items in a new
window for the Realtime plugin's pop-up window.
This commit is contained in:
parent
b5ed698bd2
commit
730b1a211f
@ -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;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user