Created
March 28, 2013 14:09
-
-
Save mrvdb/5263398 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/js/util.js b/js/util.js | |
index c228026..b6a6950 100644 | |
--- a/js/util.js | |
+++ b/js/util.js | |
@@ -616,7 +616,9 @@ var SN = { // StatusNet | |
$('#content .notice_reply').live('click', function(e) { | |
e.preventDefault(); | |
var notice = $(this).closest('li.notice'); | |
- SN.U.NoticeInlineReplyTrigger(notice); | |
+ // @fixme: is this the proper way to get the nick? | |
+ var replyNick = '@' + $(notice).find('.vcard.author a.url').attr('title'); | |
+ SN.U.NoticeInlineReplyTrigger(notice, replyNick); | |
return false; | |
}); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment