From: Sarven Capadisli Date: Tue, 4 Aug 2009 15:54:02 +0000 (+0000) Subject: Ticket 1758 Multiple replies in web interface on "profile" page X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a6e7d68fce1ef66f959071299dbe86aa91f495a;p=quix0rs-gnu-social.git Ticket 1758 Multiple replies in web interface on "profile" page appends own username --- diff --git a/js/util.js b/js/util.js index 9d6e52b2d5..ef147bef4a 100644 --- a/js/util.js +++ b/js/util.js @@ -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; });