forked from GNUsocial/gnu-social
Ticket 1758 Multiple replies in web interface on "profile" page
appends own username
This commit is contained in:
parent
d0a020dd4e
commit
3a6e7d68fc
@ -244,7 +244,7 @@ function NoticeReply() {
|
|||||||
$('#content .notice').each(function() {
|
$('#content .notice').each(function() {
|
||||||
var notice = $(this)[0];
|
var notice = $(this)[0];
|
||||||
$($('.notice_reply', notice)[0]).click(function() {
|
$($('.notice_reply', notice)[0]).click(function() {
|
||||||
var nickname = ($('.author .nickname', notice).length > 0) ? $($('.author .nickname', notice)[0]) : $('.author .nickname');
|
var nickname = ($('.author .nickname', notice).length > 0) ? $($('.author .nickname', notice)[0]) : $('.author .nickname.uid');
|
||||||
NoticeReplySet(nickname.text(), $($('.notice_id', notice)[0]).text());
|
NoticeReplySet(nickname.text(), $($('.notice_id', notice)[0]).text());
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user