Skip to content

Commit

Permalink
fix @ username in reply2
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Mar 18, 2014
1 parent c8a624b commit 7f78060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/topic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
var editorWrap = $btn.parents('.reply2_area').find('.reply2_form');
$btn.parents('.reply2_item').after(editorWrap);
var textarea = editorWrap.find('textarea.editor');
var user = $btn.parents('.cell').find('.reply_author a').html();
var user = $btn.parents('.cell').find('.reply_author').html();
if (textarea.val().indexOf('@' + user) < 0) {
textarea.val('@' + user + ' ');
}
Expand Down

0 comments on commit 7f78060

Please sign in to comment.