don't try to pre-init the @-reply
This commit is contained in:
parent
d9f27fcb14
commit
82577a9dc2
|
@ -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
2
js/util.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user