]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Ticket 1758 Multiple replies in web interface on "profile" page
authorSarven Capadisli <csarven@controlyourself.ca>
Tue, 4 Aug 2009 15:54:02 +0000 (15:54 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Tue, 4 Aug 2009 15:54:02 +0000 (15:54 +0000)
appends own username

js/util.js

index 9d6e52b2d572ee5e55471a4eff4fac2b4c79f019..ef147bef4a79ac241da814b53ec62bd2abb6a738 100644 (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;
             });