summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-08-04 15:54:02 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-08-04 15:54:02 +0000
commit3a6e7d68fce1ef66f959071299dbe86aa91f495a (patch)
tree545547318cb0d158d7e6d661d98a99ba3b9417f7 /js
parentd0a020dd4ea8d58bc8230ebcde22e54ad31894a8 (diff)
Ticket 1758 Multiple replies in web interface on "profile" page
appends own username
Diffstat (limited to 'js')
-rw-r--r--js/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js
index 9d6e52b2d..ef147bef4 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;
});