don't try to pre-init the @-reply

This commit is contained in:
Evan Prodromou 2011-04-16 16:23:31 -04:00
parent d9f27fcb14
commit 82577a9dc2
2 changed files with 2 additions and 3 deletions

View File

@ -609,8 +609,7 @@ var SN = { // StatusNet
$('#content .notice_reply').live('click', function(e) { $('#content .notice_reply').live('click', function(e) {
e.preventDefault(); e.preventDefault();
var notice = $(this).closest('li.notice'); var notice = $(this).closest('li.notice');
var nickname = ($('.author .nickname', notice).length > 0) ? $($('.author .nickname', notice)[0]) : $('.author .nickname.uid'); SN.U.NoticeInlineReplyTrigger(notice);
SN.U.NoticeInlineReplyTrigger(notice, '@' + nickname.text());
return false; return false;
}); });
}, },

2
js/util.min.js vendored

File diff suppressed because one or more lines are too long