Ticket 1758 Multiple replies in web interface on "profile" page

appends own username
This commit is contained in:
Sarven Capadisli 2009-08-04 15:54:02 +00:00
parent d0a020dd4e
commit 3a6e7d68fc
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ function NoticeReply() {
$('#content .notice').each(function() {
var notice = $(this)[0];
$($('.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());
return false;
});